Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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-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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8858/0.8858, allocations: 135.2 MB / 426.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002943, allocations: 8 kB / 0.5068 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1488, allocations: 82.31 MB / 0.5872 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00384/0.1527, allocations: 3.452 MB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3745/0.5272, allocations: 127.4 MB / 0.715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000477/0.5277, allocations: 18.03 kB / 0.715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.528, allocations: 69.3 kB / 0.7151 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.5292, allocations: 460.8 kB / 0.7155 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.5308, allocations: 0.607 MB / 0.7161 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001038/0.5319, allocations: 0.742 MB / 0.7169 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006346/0.5325, allocations: 464.5 kB / 0.7173 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.533, allocations: 307.1 kB / 0.7176 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.5334, allocations: 293.6 kB / 0.7179 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.5334, allocations: 21.03 kB / 0.7179 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007611/0.5342, allocations: 305.2 kB / 0.7182 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.5344, allocations: 161.9 kB / 0.7183 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.5346, allocations: 181 kB / 0.7185 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.5358, allocations: 1.068 MB / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.5359, allocations: 0 / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5359, allocations: 0 / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.5359, allocations: 0 / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001922/0.5378, allocations: 1.13 MB / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.5378, allocations: 7.594 kB / 0.7207 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000865/0.5387, allocations: 192.8 kB / 0.7209 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.5398, allocations: 0.6779 MB / 0.7215 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.5398, allocations: 62.12 kB / 0.7216 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.5399, allocations: 76.91 kB / 0.7216 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.5414, allocations: 0.853 MB / 0.7225 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5414, allocations: 1.188 kB / 0.7225 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.446e-05/0.5415, allocations: 35.53 kB / 0.7225 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.5415, allocations: 19.91 kB / 0.7225 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.5431, allocations: 1.065 MB / 0.7236 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.547, allocations: 2.406 MB / 0.7259 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5483, allocations: 0.8069 MB / 0.7267 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.5484, allocations: 29.03 kB / 0.7267 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007481/0.5491, allocations: 432 kB / 0.7272 GB, free: 9.156 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.225e-06/0.5491, allocations: 0 / 0.7272 GB, free: 9.156 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.002686/0.5518, allocations: 1.079 MB / 0.7282 GB, free: 8.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.682e-05/0.5519, allocations: 193.1 kB / 0.7284 GB, free: 8.484 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007328/0.5527, allocations: 0.5871 MB / 0.729 GB, free: 8.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.5527, allocations: 38.52 kB / 0.729 GB, free: 8.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.553, allocations: 369.6 kB / 0.7294 GB, free: 7.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.5532, allocations: 241.5 kB / 0.7296 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.5532, allocations: 15.22 kB / 0.7296 GB, free: 7.684 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5534, allocations: 378.7 kB / 0.73 GB, free: 7.344 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.5538, allocations: 216.6 kB / 0.7302 GB, free: 7.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.5543, allocations: 318.6 kB / 0.7305 GB, free: 7.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5547, allocations: 261.9 kB / 0.7307 GB, free: 6.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.5547, allocations: 0 / 0.7307 GB, free: 6.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001437/0.5561, allocations: 0.7239 MB / 0.7314 GB, free: 6.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.5562, allocations: 7.938 kB / 0.7314 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.5562, allocations: 2.938 kB / 0.7314 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.5567, allocations: 88.33 kB / 0.7315 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.5573, allocations: 138.6 kB / 0.7317 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.5592, allocations: 1.526 MB / 0.7331 GB, free: 5.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005718/0.5597, allocations: 77.95 kB / 0.7332 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.5598, allocations: 30.16 kB / 0.7332 GB, free: 5.195 MB / 0.545 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003994/0.5602, allocations: 245.2 kB / 0.7335 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5603, allocations: 85.44 kB / 0.7336 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.5623, allocations: 1.017 MB / 0.7346 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5624, allocations: 8.875 kB / 0.7346 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.5624, allocations: 0 / 0.7346 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.5624, allocations: 6.859 kB / 0.7346 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.5653, allocations: 1.866 MB / 0.7364 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5653, allocations: 0 / 0.7364 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005288/0.5658, allocations: 147.9 kB / 0.7365 GB, free: 2.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004715/0.5663, allocations: 87.75 kB / 0.7366 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.5664, allocations: 33.42 kB / 0.7366 GB, free: 2.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.5681, allocations: 1.553 MB / 0.7382 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5681, allocations: 0 / 0.7382 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.5698, allocations: 0.9256 MB / 0.7391 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.5702, allocations: 271.8 kB / 0.7393 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5703, allocations: 16 kB / 0.7393 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.5708, allocations: 67.94 kB / 0.7394 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5709, allocations: 56.92 kB / 0.7395 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.571, allocations: 35.97 kB / 0.7395 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004981/0.5715, allocations: 423.1 kB / 0.7399 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5715, allocations: 0 / 0.7399 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008347/0.5724, allocations: 287.2 kB / 0.7402 GB, free: 15.06 MB / 0.5606 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.5735, allocations: 0.5894 MB / 0.7407 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.5749, allocations: 0.7233 MB / 0.7415 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5749, allocations: 0 / 0.7415 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000791/0.5757, allocations: 496.8 kB / 0.7419 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5767, allocations: 239.9 kB / 0.7422 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003499/0.5802, allocations: 2.038 MB / 0.7441 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.5807, allocations: 1.019 MB / 0.7451 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007882/0.5815, allocations: 258.1 kB / 0.7454 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.5818, allocations: 99.39 kB / 0.7455 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/0.5818, allocations: 0 / 0.7455 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.01936/0.6011, allocations: 12.8 MB / 0.758 GB, free: 13.12 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: