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.007398/0.007398, allocations: 100.3 kB / 15.73 MB, free: 6.008 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.001935/0.001935, allocations: 193 kB / 16.67 MB, free: 5.926 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8431/0.8431, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.00201, allocations: 61.08 kB / 0.5809 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.141, allocations: 80.2 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006221/0.1473, allocations: 4.054 MB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5045/0.6518, allocations: 150.4 MB / 0.81 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.6525, allocations: 18.19 kB / 0.8101 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005177/0.653, allocations: 162.9 kB / 0.8102 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.6544, allocations: 471.5 kB / 0.8107 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.6559, allocations: 0.7817 MB / 0.8114 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009827/0.6569, allocations: 1.159 MB / 0.8126 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007677/0.6577, allocations: 0.5938 MB / 0.8131 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.6583, allocations: 417.3 kB / 0.8135 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.6587, allocations: 432.1 kB / 0.814 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.6589, allocations: 104.6 kB / 0.814 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009105/0.6598, allocations: 470.5 kB / 0.8145 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.6601, allocations: 268.7 kB / 0.8148 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.6605, allocations: 492.2 kB / 0.8152 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001696/0.6622, allocations: 1.464 MB / 0.8167 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.6622, allocations: 3.312 kB / 0.8167 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6622, allocations: 0 / 0.8167 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.6622, allocations: 0 / 0.8167 GB, free: 9.883 MB / 0.5919 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.002138/0.6644, allocations: 1.341 MB / 0.818 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6644, allocations: 10.53 kB / 0.818 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001479/0.6646, allocations: 129 kB / 0.8181 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009151/0.6655, allocations: 180.2 kB / 0.8183 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.6665, allocations: 0.7303 MB / 0.819 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.6666, allocations: 57.66 kB / 0.819 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.6667, allocations: 74.62 kB / 0.8191 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.6681, allocations: 0.8441 MB / 0.8199 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6681, allocations: 4 kB / 0.8199 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.6682, allocations: 31.91 kB / 0.82 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.6682, allocations: 18.41 kB / 0.82 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.6698, allocations: 1.045 MB / 0.821 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003579/0.6734, allocations: 2.298 MB / 0.8233 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.6747, allocations: 0.7788 MB / 0.824 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/0.6752, allocations: 270.3 kB / 0.8243 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.54e-05/0.6753, allocations: 37.7 kB / 0.8243 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.6761, allocations: 416.5 kB / 0.8247 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 5.621e-06/0.6761, allocations: 3.984 kB / 0.8247 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.00302/0.6791, allocations: 1.057 MB / 0.8257 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.6793, allocations: 191.3 kB / 0.8259 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.68, allocations: 0.5757 MB / 0.8265 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.6801, allocations: 38.64 kB / 0.8265 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.6804, allocations: 372.1 kB / 0.8269 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6807, allocations: 243.8 kB / 0.8271 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.6809, allocations: 127.6 kB / 0.8272 GB, free: 2.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.6811, allocations: 383.8 kB / 0.8276 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.6816, allocations: 206.8 kB / 0.8278 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005372/0.6821, allocations: 305 kB / 0.8281 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.6831, allocations: 0.5197 MB / 0.8286 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6831, allocations: 0 / 0.8286 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001733/0.6848, allocations: 0.7048 MB / 0.8293 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.6849, allocations: 5.656 kB / 0.8293 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6849, allocations: 2.188 kB / 0.8293 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.6855, allocations: 82.06 kB / 0.8294 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.686, allocations: 137.6 kB / 0.8295 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.6883, allocations: 1.621 MB / 0.8311 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.6889, allocations: 85.95 kB / 0.8312 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.689, allocations: 26.2 kB / 0.8312 GB, free: 15.81 MB / 0.6075 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.000403/0.6894, allocations: 238.7 kB / 0.8314 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6895, allocations: 81.28 kB / 0.8315 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.6917, allocations: 0.9578 MB / 0.8324 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6918, allocations: 7.781 kB / 0.8324 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.6918, allocations: 0 / 0.8324 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.6918, allocations: 7.984 kB / 0.8324 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.6949, allocations: 1.799 MB / 0.8342 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.6949, allocations: 2.156 kB / 0.8342 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005277/0.6955, allocations: 135.5 kB / 0.8343 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/0.6959, allocations: 77.97 kB / 0.8344 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/0.696, allocations: 23.84 kB / 0.8344 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.698, allocations: 1.656 MB / 0.836 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6981, allocations: 0 / 0.836 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.7, allocations: 0.8961 MB / 0.8369 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.7004, allocations: 251.3 kB / 0.8372 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7005, allocations: 16.94 kB / 0.8372 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.701, allocations: 53.17 kB / 0.8372 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7012, allocations: 60.19 kB / 0.8373 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.7012, allocations: 32.61 kB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005271/0.7018, allocations: 427.4 kB / 0.8377 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7018, allocations: 0 / 0.8377 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007588/0.7026, allocations: 284.4 kB / 0.838 GB, free: 10.95 MB / 0.6075 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.00389/0.7064, allocations: 1.927 MB / 0.8399 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.708, allocations: 0.7093 MB / 0.8406 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.708, allocations: 2.562 kB / 0.8406 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.7089, allocations: 474.1 kB / 0.841 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.7101, allocations: 294.3 kB / 0.8413 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.7209, allocations: 5.777 MB / 0.8469 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.7216, allocations: 0.9875 MB / 0.8479 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008039/0.7224, allocations: 254 kB / 0.8482 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.7229, allocations: 351.2 kB / 0.8485 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of SimCode: time 7.72e-07/0.7229, allocations: 0 / 0.8485 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.78, allocations: 19.46 MB / 0.8675 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.53, allocations: 7.438 kB / 0.8675 GB, free: 14.97 MB / 0.6387 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)