Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007079/0.0007079, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004773/0.004773, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7099/0.7099, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 8 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3268, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.003935/0.3308, allocations: 3.758 MB / 0.5874 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1346/0.4654, allocations: 146.6 MB / 0.7305 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.4658, allocations: 19.94 kB / 0.7306 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.4662, allocations: 130.9 kB / 0.7307 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009105/0.4671, allocations: 399.1 kB / 0.7311 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4685, allocations: 0.7016 MB / 0.7318 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.4693, allocations: 1.106 MB / 0.7328 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007316/0.4701, allocations: 0.6425 MB / 0.7335 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.4704, allocations: 310.4 kB / 0.7338 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.4708, allocations: 338 kB / 0.7341 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.82e-05/0.4708, allocations: 20 kB / 0.7341 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.4713, allocations: 363.6 kB / 0.7345 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.4715, allocations: 187.1 kB / 0.7346 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002871/0.4718, allocations: 434.9 kB / 0.735 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.4729, allocations: 1.417 MB / 0.7364 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.4729, allocations: 4 kB / 0.7364 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4729, allocations: 0 / 0.7364 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4729, allocations: 0 / 0.7364 GB, free: 3.508 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001679/0.4746, allocations: 1.17 MB / 0.7376 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.4746, allocations: 12.03 kB / 0.7376 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.4748, allocations: 143.8 kB / 0.7377 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.4758, allocations: 223.3 kB / 0.7379 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008166/0.4766, allocations: 0.7264 MB / 0.7386 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.4766, allocations: 66 kB / 0.7387 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4768, allocations: 84 kB / 0.7388 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4782, allocations: 0.9449 MB / 0.7397 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.4782, allocations: 0 / 0.7397 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/0.4783, allocations: 39.98 kB / 0.7397 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.4783, allocations: 28 kB / 0.7398 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.4799, allocations: 1.128 MB / 0.7409 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00333/0.4833, allocations: 2.515 MB / 0.7433 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.4853, allocations: 0.8961 MB / 0.7442 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.4858, allocations: 290.6 kB / 0.7445 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.4859, allocations: 32.69 kB / 0.7445 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.4866, allocations: 443.2 kB / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.737e-06/0.4866, allocations: 4 kB / 0.7449 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002633/0.4892, allocations: 1.108 MB / 0.746 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/0.4893, allocations: 192.6 kB / 0.7462 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.4899, allocations: 0.5979 MB / 0.7468 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/0.49, allocations: 37.7 kB / 0.7468 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.4902, allocations: 400.2 kB / 0.7472 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.4904, allocations: 240.5 kB / 0.7474 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.4905, allocations: 53.69 kB / 0.7475 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4906, allocations: 390.6 kB / 0.7479 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.491, allocations: 225.2 kB / 0.7481 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.4916, allocations: 330.8 kB / 0.7484 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.4925, allocations: 0.5472 MB / 0.7489 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4925, allocations: 0 / 0.7489 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001573/0.4941, allocations: 0.7432 MB / 0.7497 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4941, allocations: 8 kB / 0.7497 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4941, allocations: 4.062 kB / 0.7497 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.4947, allocations: 88.77 kB / 0.7497 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.4952, allocations: 143.7 kB / 0.7499 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.497, allocations: 1.512 MB / 0.7514 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.4975, allocations: 83.25 kB / 0.7514 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.4975, allocations: 23.98 kB / 0.7515 GB, free: 3.555 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003071/0.4978, allocations: 265.9 kB / 0.7517 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4979, allocations: 79 kB / 0.7518 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.5, allocations: 1.006 MB / 0.7528 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.5, allocations: 12 kB / 0.7528 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5, allocations: 0 / 0.7528 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5001, allocations: 7.984 kB / 0.7528 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.5029, allocations: 1.907 MB / 0.7547 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5029, allocations: 3.938 kB / 0.7547 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.5034, allocations: 151.7 kB / 0.7548 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/0.5039, allocations: 80.83 kB / 0.7549 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.5039, allocations: 27.92 kB / 0.7549 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.5055, allocations: 1.544 MB / 0.7564 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5055, allocations: 3.938 kB / 0.7564 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5071, allocations: 0.9297 MB / 0.7573 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.5074, allocations: 271.7 kB / 0.7576 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.5075, allocations: 20 kB / 0.7576 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.5081, allocations: 71.88 kB / 0.7577 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5082, allocations: 64.84 kB / 0.7577 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.5083, allocations: 31.98 kB / 0.7578 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004408/0.5087, allocations: 439 kB / 0.7582 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5087, allocations: 0 / 0.7582 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006698/0.5094, allocations: 299.2 kB / 0.7585 GB, free: 12.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002972/0.5124, allocations: 1.979 MB / 0.7604 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.5137, allocations: 0.7357 MB / 0.7611 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5137, allocations: 3.938 kB / 0.7611 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007862/0.5145, allocations: 0.4964 MB / 0.7616 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5156, allocations: 251 kB / 0.7619 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5259, allocations: 6.731 MB / 0.7684 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.5264, allocations: 1.023 MB / 0.7694 GB, free: 0.9453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007143/0.5272, allocations: 261.8 kB / 0.7697 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.5276, allocations: 378 kB / 0.77 GB, free: 328 kB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.5276, allocations: 0 / 0.77 GB, free: 328 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6511/1.179, allocations: 19.19 MB / 0.7888 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/1.179, allocations: 313 kB / 0.7891 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/3.441, allocations: 2.969 kB / 0.7891 GB, free: 13.17 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)