Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001509/0.001509, allocations: 108 kB / 15.6 MB, free: 132 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.001005/0.001005, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7072/0.7072, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 60.09 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3073, allocations: 80.21 MB / 0.5802 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004824/0.3122, allocations: 4.044 MB / 0.5842 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.4575, allocations: 150.4 MB / 0.7311 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.4583, allocations: 19.88 kB / 0.7311 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.4588, allocations: 166.5 kB / 0.7312 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.4602, allocations: 472.6 kB / 0.7317 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4619, allocations: 0.7767 MB / 0.7324 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009103/0.4628, allocations: 1.149 MB / 0.7336 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.4636, allocations: 0.5919 MB / 0.7341 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.464, allocations: 418.5 kB / 0.7345 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.4645, allocations: 438 kB / 0.735 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.4646, allocations: 100 kB / 0.7351 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007228/0.4653, allocations: 443.7 kB / 0.7355 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.4655, allocations: 263.1 kB / 0.7357 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.4659, allocations: 489.4 kB / 0.7362 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.4672, allocations: 1.422 MB / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4672, allocations: 3.938 kB / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4672, allocations: 0 / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.4672, allocations: 0 / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001849/0.4691, allocations: 1.305 MB / 0.7389 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.4691, allocations: 12.03 kB / 0.7389 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.4693, allocations: 131 kB / 0.739 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008268/0.4701, allocations: 171.5 kB / 0.7392 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.4709, allocations: 0.7032 MB / 0.7399 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.471, allocations: 54 kB / 0.7399 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.4711, allocations: 83.98 kB / 0.74 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.4723, allocations: 0.8364 MB / 0.7408 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.4723, allocations: 0 / 0.7408 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.4724, allocations: 36 kB / 0.7408 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.4724, allocations: 23.94 kB / 0.7409 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.4739, allocations: 1.046 MB / 0.7419 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.477, allocations: 2.336 MB / 0.7442 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.4782, allocations: 0.7733 MB / 0.7449 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.4787, allocations: 266.4 kB / 0.7452 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-05/0.4788, allocations: 28.59 kB / 0.7452 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006835/0.4794, allocations: 409.8 kB / 0.7456 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.764e-06/0.4795, allocations: 4 kB / 0.7456 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002683/0.4822, allocations: 1.05 MB / 0.7466 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.4823, allocations: 196.5 kB / 0.7468 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.4829, allocations: 0.5782 MB / 0.7474 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.4829, allocations: 41.7 kB / 0.7474 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.4832, allocations: 368.3 kB / 0.7478 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.4833, allocations: 228.7 kB / 0.748 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.4835, allocations: 126.2 kB / 0.7481 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4836, allocations: 374.8 kB / 0.7485 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.4841, allocations: 217.2 kB / 0.7487 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004837/0.4845, allocations: 310.7 kB / 0.749 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008941/0.4854, allocations: 0.5156 MB / 0.7495 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4855, allocations: 0 / 0.7495 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001601/0.4871, allocations: 0.7081 MB / 0.7502 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4871, allocations: 4 kB / 0.7502 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4871, allocations: 0 / 0.7502 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/0.4877, allocations: 84.81 kB / 0.7502 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.4882, allocations: 135.8 kB / 0.7504 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.4901, allocations: 1.634 MB / 0.752 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.4906, allocations: 71.45 kB / 0.752 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.4906, allocations: 31.98 kB / 0.7521 GB, free: 360 kB / 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 (73): * Single equations (assignments): 72 * 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.0002803/0.4909, allocations: 240.3 kB / 0.7523 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.491, allocations: 79 kB / 0.7524 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.4931, allocations: 0.951 MB / 0.7533 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4931, allocations: 8 kB / 0.7533 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4931, allocations: 7.984 kB / 0.7533 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4931, allocations: 7.984 kB / 0.7533 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.4958, allocations: 1.789 MB / 0.7551 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4959, allocations: 0 / 0.7551 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.4964, allocations: 143.8 kB / 0.7552 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/0.4968, allocations: 76.72 kB / 0.7553 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/0.4969, allocations: 19.98 kB / 0.7553 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/0.4986, allocations: 1.65 MB / 0.7569 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4986, allocations: 0 / 0.7569 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.5003, allocations: 0.8828 MB / 0.7578 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/0.5005, allocations: 251.9 kB / 0.758 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.5006, allocations: 27.88 kB / 0.758 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.5012, allocations: 55.94 kB / 0.7581 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.5013, allocations: 52.92 kB / 0.7581 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/0.5014, allocations: 31.98 kB / 0.7582 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004412/0.5018, allocations: 427 kB / 0.7586 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5018, allocations: 0 / 0.7586 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006613/0.5025, allocations: 279.2 kB / 0.7588 GB, free: 9.137 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 (81): * Single equations (assignments): 78 * 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.002929/0.5054, allocations: 1.938 MB / 0.7607 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001785/0.5072, allocations: 0.8721 MB / 0.7616 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5072, allocations: 4.188 kB / 0.7616 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007733/0.508, allocations: 480.2 kB / 0.7621 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.5091, allocations: 279.4 kB / 0.7623 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008938/0.518, allocations: 5.923 MB / 0.7681 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.5185, allocations: 0.9919 MB / 0.7691 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006943/0.5192, allocations: 254 kB / 0.7693 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.5197, allocations: 342.5 kB / 0.7696 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.5197, allocations: 4 kB / 0.7696 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.5612, allocations: 19.24 MB / 0.7884 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.64, allocations: 15.38 kB / 0.7885 GB, free: 11.27 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)