Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008481/0.008481, allocations: 102.7 kB / 15.73 MB, free: 6.477 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.002178/0.002179, allocations: 194.4 kB / 16.67 MB, free: 6.379 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.555/1.555, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8046/0.8046, allocations: 132.2 MB / 422.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 61.97 kB / 0.5813 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2019, allocations: 80.21 MB / 0.6596 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006147/0.208, allocations: 4.079 MB / 0.6636 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.3846, allocations: 150.5 MB / 0.8106 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.3858, allocations: 15.94 kB / 0.8106 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.3867, allocations: 162.5 kB / 0.8107 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.3892, allocations: 489.4 kB / 0.8112 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.392, allocations: 0.7907 MB / 0.812 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.5451/0.9371, allocations: 1.168 MB / 0.8131 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.9384, allocations: 0.6066 MB / 0.8137 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008201/0.9392, allocations: 434.3 kB / 0.8141 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006239/0.9399, allocations: 440.7 kB / 0.8145 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.9401, allocations: 105 kB / 0.8146 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.9412, allocations: 477.6 kB / 0.8151 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.9415, allocations: 265.9 kB / 0.8153 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.942, allocations: 0.4924 MB / 0.8158 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.9441, allocations: 1.489 MB / 0.8173 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9441, allocations: 0.7031 kB / 0.8173 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9441, allocations: 1.531 kB / 0.8173 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.9442, allocations: 0 / 0.8173 GB, free: 3.504 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002518/0.9467, allocations: 1.306 MB / 0.8185 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.9467, allocations: 9.781 kB / 0.8186 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.9478, allocations: 175.7 kB / 0.8187 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.9492, allocations: 0.7228 MB / 0.8194 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-05/0.9493, allocations: 62 kB / 0.8195 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9494, allocations: 73.28 kB / 0.8196 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.9512, allocations: 0.8646 MB / 0.8204 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.9513, allocations: 3.438 kB / 0.8204 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/0.9514, allocations: 34.17 kB / 0.8204 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.9514, allocations: 19.34 kB / 0.8205 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.9533, allocations: 1.058 MB / 0.8215 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.9573, allocations: 2.354 MB / 0.8238 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.9588, allocations: 0.8007 MB / 0.8246 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.9593, allocations: 276 kB / 0.8248 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.9595, allocations: 29.88 kB / 0.8249 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000851/0.9603, allocations: 423.1 kB / 0.8253 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.004e-06/0.9603, allocations: 0 / 0.8253 GB, free: 1.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002967/0.9633, allocations: 1.067 MB / 0.8263 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.9634, allocations: 189.2 kB / 0.8265 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.9643, allocations: 0.588 MB / 0.8271 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.9643, allocations: 36.61 kB / 0.8271 GB, free: 16.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.9646, allocations: 368.5 kB / 0.8275 GB, free: 16.58 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.9648, allocations: 240.6 kB / 0.8277 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.965, allocations: 144.1 kB / 0.8278 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.9652, allocations: 379.9 kB / 0.8282 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.9657, allocations: 236.8 kB / 0.8284 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.9662, allocations: 323.2 kB / 0.8287 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009793/0.9672, allocations: 0.5468 MB / 0.8292 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.9672, allocations: 0.9062 kB / 0.8293 GB, free: 16.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001822/0.9691, allocations: 0.7603 MB / 0.83 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.9691, allocations: 7.844 kB / 0.83 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.9691, allocations: 1.5 kB / 0.83 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.9697, allocations: 81.34 kB / 0.8301 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.9703, allocations: 146.8 kB / 0.8302 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.9726, allocations: 1.646 MB / 0.8318 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/0.9733, allocations: 78.05 kB / 0.8319 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.9733, allocations: 31.83 kB / 0.8319 GB, free: 14.5 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (81): * Single equations (assignments): 80 * 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.0004107/0.9738, allocations: 256.1 kB / 0.8322 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9739, allocations: 78.97 kB / 0.8323 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/0.9764, allocations: 0.9571 MB / 0.8332 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.9764, allocations: 8.438 kB / 0.8332 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.9764, allocations: 0.9062 kB / 0.8332 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.9764, allocations: 8.578 kB / 0.8332 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003134/0.9795, allocations: 1.836 MB / 0.835 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.9796, allocations: 0.9375 kB / 0.835 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.9801, allocations: 136 kB / 0.8351 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004158/0.9805, allocations: 72.28 kB / 0.8352 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.9806, allocations: 27.62 kB / 0.8352 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.9825, allocations: 1.667 MB / 0.8368 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9825, allocations: 4.25 kB / 0.8369 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.9842, allocations: 0.8996 MB / 0.8377 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.9846, allocations: 251.2 kB / 0.838 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.9847, allocations: 13.97 kB / 0.838 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.9853, allocations: 54.56 kB / 0.838 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.9854, allocations: 59.66 kB / 0.8381 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.356e-05/0.9855, allocations: 29.62 kB / 0.8381 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005513/0.986, allocations: 425.5 kB / 0.8385 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.986, allocations: 0 / 0.8385 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001075/0.9871, allocations: 287.7 kB / 0.8388 GB, free: 11.98 MB / 0.6544 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.001445/0.9886, allocations: 0.5963 MB / 0.8394 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.9901, allocations: 0.7455 MB / 0.8401 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9901, allocations: 2.406 kB / 0.8401 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008695/0.991, allocations: 491.9 kB / 0.8406 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.9921, allocations: 281.7 kB / 0.8409 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.9959, allocations: 1.626 MB / 0.8424 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007032/0.9966, allocations: 0.9939 MB / 0.8434 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008756/0.9975, allocations: 253.2 kB / 0.8437 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.9977, allocations: 95.11 kB / 0.8437 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of SimCode: time 4.91e-07/0.9977, allocations: 0 / 0.8437 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.02735/1.025, allocations: 13.77 MB / 0.8572 GB, free: 9.375 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)