Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001331/0.001331, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 190.8 kB / 16.67 MB, free: 6.539 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9726/0.9726, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.89 kB / 0.5857 GB, free: 3.211 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3544, allocations: 81.02 MB / 0.6648 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004901/0.3593, allocations: 4.898 MB / 0.6696 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.5337, allocations: 150.9 MB / 0.817 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009112/0.5346, allocations: 19.94 kB / 0.817 GB, free: 4.48 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007518/0.5354, allocations: 190.1 kB / 0.8172 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002134/0.5376, allocations: 0.5909 MB / 0.8178 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00214/0.5397, allocations: 0.8841 MB / 0.8187 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001877/0.5416, allocations: 1.597 MB / 0.8202 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.543, allocations: 1.063 MB / 0.8212 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008781/0.5439, allocations: 0.6732 MB / 0.8219 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008823/0.5448, allocations: 0.7389 MB / 0.8226 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.545, allocations: 176 kB / 0.8228 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.5461, allocations: 0.5308 MB / 0.8233 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.5465, allocations: 430.5 kB / 0.8237 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007129/0.5473, allocations: 0.7733 MB / 0.8245 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.5497, allocations: 2.188 MB / 0.8266 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5497, allocations: 4 kB / 0.8266 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5497, allocations: 0 / 0.8266 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.5498, allocations: 0 / 0.8266 GB, free: 10.6 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003063/0.5528, allocations: 1.835 MB / 0.8284 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5529, allocations: 12.03 kB / 0.8284 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002442/0.5531, allocations: 207.3 kB / 0.8286 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.5542, allocations: 243.7 kB / 0.8289 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.5555, allocations: 0.9114 MB / 0.8297 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.18e-05/0.5556, allocations: 102.9 kB / 0.8298 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.5558, allocations: 144 kB / 0.83 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.5583, allocations: 1.432 MB / 0.8314 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.5583, allocations: 0 / 0.8314 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.5584, allocations: 64 kB / 0.8314 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.5585, allocations: 36 kB / 0.8315 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/0.5611, allocations: 1.513 MB / 0.8329 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005997/0.5671, allocations: 3.734 MB / 0.8366 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.5689, allocations: 0.9618 MB / 0.8375 GB, free: 15.17 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007441/0.5697, allocations: 395.7 kB / 0.8379 GB, free: 14.78 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/0.5698, allocations: 45.08 kB / 0.838 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.5709, allocations: 0.5829 MB / 0.8385 GB, free: 14.14 MB / 0.67 GB Notification: Performance of pre-optimization done (n=104): time 2.214e-06/0.5709, allocations: 0 / 0.8385 GB, free: 14.14 MB / 0.67 GB Notification: Performance of matching and sorting (n=104): time 0.003893/0.5748, allocations: 1.482 MB / 0.84 GB, free: 12.63 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.5749, allocations: 193 kB / 0.8402 GB, free: 12.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5759, allocations: 0.7706 MB / 0.8409 GB, free: 11.62 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.46e-05/0.576, allocations: 45.7 kB / 0.841 GB, free: 11.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.5765, allocations: 0.5673 MB / 0.8415 GB, free: 10.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.5769, allocations: 364.9 kB / 0.8419 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.5772, allocations: 202.5 kB / 0.842 GB, free: 10.43 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5774, allocations: 341.9 kB / 0.8424 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007256/0.5781, allocations: 337.8 kB / 0.8427 GB, free: 9.758 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008467/0.5789, allocations: 462.5 kB / 0.8431 GB, free: 9.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.5806, allocations: 0.8078 MB / 0.8439 GB, free: 8.457 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5806, allocations: 4 kB / 0.8439 GB, free: 8.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002627/0.5832, allocations: 1.072 MB / 0.845 GB, free: 7.375 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5833, allocations: 14.28 kB / 0.845 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5833, allocations: 0 / 0.845 GB, free: 7.363 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006165/0.5839, allocations: 80.84 kB / 0.8451 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009592/0.5849, allocations: 211.7 kB / 0.8453 GB, free: 7.074 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.5872, allocations: 1.649 MB / 0.8469 GB, free: 5.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007687/0.588, allocations: 115.3 kB / 0.847 GB, free: 5.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/0.5881, allocations: 43.97 kB / 0.847 GB, free: 5.125 MB / 0.67 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 (117): * Single equations (assignments): 116 * 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.0005253/0.5886, allocations: 309.5 kB / 0.8473 GB, free: 4.812 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.5888, allocations: 111.4 kB / 0.8474 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/0.5922, allocations: 1.38 MB / 0.8488 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.5922, allocations: 8 kB / 0.8488 GB, free: 3.305 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5922, allocations: 8 kB / 0.8488 GB, free: 3.297 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.5922, allocations: 3.984 kB / 0.8488 GB, free: 3.293 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.5966, allocations: 2.564 MB / 0.8513 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5967, allocations: 0 / 0.8513 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008495/0.5975, allocations: 191.8 kB / 0.8515 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000486/0.598, allocations: 76.78 kB / 0.8516 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.221e-05/0.5981, allocations: 27.98 kB / 0.8516 GB, free: 380 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.6002, allocations: 1.678 MB / 0.8532 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6002, allocations: 4.062 kB / 0.8532 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.6027, allocations: 1.182 MB / 0.8544 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.6031, allocations: 316 kB / 0.8547 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.6033, allocations: 35.88 kB / 0.8547 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007086/0.604, allocations: 51.95 kB / 0.8548 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.6042, allocations: 84.77 kB / 0.8548 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/0.6043, allocations: 43.97 kB / 0.8549 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000798/0.6051, allocations: 0.5771 MB / 0.8555 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6.01e-07/0.6051, allocations: 0 / 0.8555 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009957/0.6061, allocations: 398.8 kB / 0.8558 GB, free: 11.84 MB / 0.6856 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 (115): * Single equations (assignments): 112 * 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.004533/0.6106, allocations: 2.232 MB / 0.858 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002099/0.6127, allocations: 1.003 MB / 0.859 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6127, allocations: 0 / 0.859 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6139, allocations: 0.6135 MB / 0.8596 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6152, allocations: 309 kB / 0.8599 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.274/0.8893, allocations: 8.162 MB / 0.8679 GB, free: 189.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.89, allocations: 1.162 MB / 0.869 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001037/0.8911, allocations: 293.9 kB / 0.8693 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/0.8918, allocations: 0.5506 MB / 0.8698 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/0.8918, allocations: 0.7188 kB / 0.8698 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05618/0.948, allocations: 26.23 MB / 0.8954 GB, free: 178.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.26, allocations: 4.625 kB / 0.8954 GB, free: 178.1 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)