Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001296/0.001296, allocations: 106.4 kB / 16.52 MB, free: 6.27 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.001374/0.001375, allocations: 197 kB / 17.44 MB, free: 5.887 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.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7066/0.7066, allocations: 115.3 MB / 406.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3701, allocations: 76.17 MB / 0.5564 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005837/0.376, allocations: 4.905 MB / 0.5612 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1532/0.5293, allocations: 148.3 MB / 0.706 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.5305, allocations: 15.94 kB / 0.706 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008941/0.5314, allocations: 150.8 kB / 0.7062 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.5336, allocations: 484.5 kB / 0.7066 GB, free: 10.33 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.5358, allocations: 0.7371 MB / 0.7074 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.5375, allocations: 1.335 MB / 0.7087 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009697/0.5385, allocations: 0.5711 MB / 0.7092 GB, free: 7.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007102/0.5392, allocations: 442.2 kB / 0.7096 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007186/0.5399, allocations: 497.7 kB / 0.7101 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.5402, allocations: 56 kB / 0.7102 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.5412, allocations: 407.6 kB / 0.7106 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.5415, allocations: 239 kB / 0.7108 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006231/0.5421, allocations: 0.5205 MB / 0.7113 GB, free: 5.531 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.5435, allocations: 1.212 MB / 0.7125 GB, free: 4.316 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5435, allocations: 7.984 kB / 0.7125 GB, free: 4.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5436, allocations: 0 / 0.7125 GB, free: 4.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.771e-05/0.5436, allocations: 0 / 0.7125 GB, free: 4.309 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003077/0.5467, allocations: 1.452 MB / 0.7139 GB, free: 2.809 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5467, allocations: 11.97 kB / 0.7139 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/0.5477, allocations: 195.4 kB / 0.7141 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.5489, allocations: 0.7546 MB / 0.7148 GB, free: 1.809 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.734e-05/0.549, allocations: 62 kB / 0.7149 GB, free: 1.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.5491, allocations: 87.94 kB / 0.715 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.5508, allocations: 0.9417 MB / 0.7159 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.5508, allocations: 0 / 0.7159 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-05/0.5509, allocations: 36 kB / 0.7159 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.5509, allocations: 20 kB / 0.716 GB, free: 0.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.5527, allocations: 1.128 MB / 0.7171 GB, free: 15.5 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004226/0.557, allocations: 2.747 MB / 0.7197 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.5586, allocations: 0.9071 MB / 0.7206 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/0.5592, allocations: 318.7 kB / 0.7209 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.927e-05/0.5593, allocations: 28.67 kB / 0.721 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009835/0.5602, allocations: 0.512 MB / 0.7215 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.865e-06/0.5603, allocations: 0 / 0.7215 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003368/0.5636, allocations: 1.259 MB / 0.7227 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.5638, allocations: 192.9 kB / 0.7229 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008873/0.5647, allocations: 0.6448 MB / 0.7235 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.947e-05/0.5647, allocations: 41.7 kB / 0.7235 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.5651, allocations: 396.5 kB / 0.7239 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.5653, allocations: 272.1 kB / 0.7242 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.5656, allocations: 178.4 kB / 0.7243 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5658, allocations: 382.8 kB / 0.7247 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.5663, allocations: 285.8 kB / 0.725 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.567, allocations: 371.1 kB / 0.7253 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5681, allocations: 0.6281 MB / 0.726 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5681, allocations: 0 / 0.726 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002077/0.5702, allocations: 0.8761 MB / 0.7268 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5703, allocations: 4 kB / 0.7268 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5703, allocations: 7.938 kB / 0.7268 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.5709, allocations: 84.86 kB / 0.7269 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006926/0.5716, allocations: 167.7 kB / 0.7271 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.5738, allocations: 1.52 MB / 0.7285 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.5747, allocations: 95.5 kB / 0.7286 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/0.5748, allocations: 44.02 kB / 0.7287 GB, free: 3.137 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.000475/0.5753, allocations: 276.4 kB / 0.7289 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.5755, allocations: 82.97 kB / 0.729 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.5781, allocations: 1.128 MB / 0.7301 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.5782, allocations: 12 kB / 0.7301 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5782, allocations: 0 / 0.7301 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.5782, allocations: 11.91 kB / 0.7301 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.5817, allocations: 2.01 MB / 0.7321 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5817, allocations: 4 kB / 0.7321 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/0.5823, allocations: 159.7 kB / 0.7323 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005386/0.5829, allocations: 84.77 kB / 0.7323 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.668e-05/0.583, allocations: 31.97 kB / 0.7324 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.5849, allocations: 1.54 MB / 0.7339 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.5849, allocations: 0 / 0.7339 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.5871, allocations: 1.051 MB / 0.7349 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004612/0.5876, allocations: 279.7 kB / 0.7352 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.5878, allocations: 23.94 kB / 0.7352 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.5886, allocations: 67.83 kB / 0.7353 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.5887, allocations: 72.89 kB / 0.7353 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.5888, allocations: 47.97 kB / 0.7354 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006527/0.5895, allocations: 467 kB / 0.7358 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5895, allocations: 0 / 0.7358 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00103/0.5905, allocations: 327.3 kB / 0.7361 GB, free: 11.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001489/0.592, allocations: 0.6143 MB / 0.7367 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.5939, allocations: 0.8663 MB / 0.7376 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.594, allocations: 0 / 0.7376 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.595, allocations: 0.5356 MB / 0.7381 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5963, allocations: 274.5 kB / 0.7384 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.5999, allocations: 2.167 MB / 0.7405 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.6006, allocations: 1.039 MB / 0.7415 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.6009, allocations: 119.4 kB / 0.7416 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.6009, allocations: 0 / 0.7416 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.2556/0.8566, allocations: 18.9 MB / 0.7601 GB, free: 169.5 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)