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.001428/0.001428, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001587/0.001587, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.33/1.33, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8891/0.8891, allocations: 122.9 MB / 413.6 MB, free: 92 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.88 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3386, allocations: 77.9 MB / 0.5667 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006093/0.3447, allocations: 4.909 MB / 0.5715 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.5069, allocations: 148.4 MB / 0.7164 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.5081, allocations: 15.94 kB / 0.7164 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000653/0.5088, allocations: 146.8 kB / 0.7166 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.5107, allocations: 0.4916 MB / 0.7171 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.5129, allocations: 0.7626 MB / 0.7178 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00148/0.5144, allocations: 1.413 MB / 0.7192 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008825/0.5153, allocations: 0.587 MB / 0.7198 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000675/0.516, allocations: 0.5021 MB / 0.7202 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.5166, allocations: 0.5173 MB / 0.7207 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.5167, allocations: 120 kB / 0.7209 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.5176, allocations: 463.6 kB / 0.7213 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.5179, allocations: 307 kB / 0.7216 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000452/0.5183, allocations: 0.5714 MB / 0.7222 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.5201, allocations: 1.616 MB / 0.7237 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5201, allocations: 0 / 0.7237 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5201, allocations: 0 / 0.7237 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.694e-05/0.5202, allocations: 3.938 kB / 0.7237 GB, free: 9.637 MB / 0.5606 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.002648/0.5228, allocations: 1.464 MB / 0.7252 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5229, allocations: 12.62 kB / 0.7252 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.5238, allocations: 191.3 kB / 0.7254 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.5248, allocations: 0.7546 MB / 0.7261 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.5249, allocations: 61.94 kB / 0.7262 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.525, allocations: 87.98 kB / 0.7262 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.5266, allocations: 0.9399 MB / 0.7272 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.5266, allocations: 4 kB / 0.7272 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.952e-05/0.5267, allocations: 36 kB / 0.7272 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.5267, allocations: 24 kB / 0.7272 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.5285, allocations: 1.128 MB / 0.7283 GB, free: 4.809 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.003984/0.5325, allocations: 2.747 MB / 0.731 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.534, allocations: 0.9032 MB / 0.7319 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.5345, allocations: 318.6 kB / 0.7322 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.5346, allocations: 28.69 kB / 0.7322 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009719/0.5356, allocations: 0.5236 MB / 0.7327 GB, free: 128 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 2.254e-06/0.5356, allocations: 0 / 0.7327 GB, free: 128 kB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003332/0.539, allocations: 1.251 MB / 0.734 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.5391, allocations: 192.9 kB / 0.7341 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007821/0.5399, allocations: 0.641 MB / 0.7348 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.54, allocations: 45.7 kB / 0.7348 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.5403, allocations: 400.5 kB / 0.7352 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.5405, allocations: 272 kB / 0.7354 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5407, allocations: 170.5 kB / 0.7356 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5409, allocations: 390.7 kB / 0.736 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.5415, allocations: 269.9 kB / 0.7362 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006559/0.5421, allocations: 375.1 kB / 0.7366 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5433, allocations: 0.6242 MB / 0.7372 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5433, allocations: 0 / 0.7372 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002006/0.5453, allocations: 0.88 MB / 0.7381 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.5453, allocations: 12.03 kB / 0.7381 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5453, allocations: 3.938 kB / 0.7381 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000608/0.546, allocations: 80.78 kB / 0.7382 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006751/0.5467, allocations: 167.7 kB / 0.7383 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.5488, allocations: 1.633 MB / 0.7399 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.5496, allocations: 110 kB / 0.74 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.5497, allocations: 40.03 kB / 0.7401 GB, free: 8.336 MB / 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: 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.0004588/0.5502, allocations: 275.7 kB / 0.7403 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.5504, allocations: 86.95 kB / 0.7404 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.5529, allocations: 1.136 MB / 0.7415 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.5529, allocations: 11.94 kB / 0.7415 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.5529, allocations: 0 / 0.7415 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5529, allocations: 7.984 kB / 0.7415 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.5561, allocations: 2.01 MB / 0.7435 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5561, allocations: 3.938 kB / 0.7435 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.5568, allocations: 163.7 kB / 0.7437 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.5573, allocations: 68.8 kB / 0.7437 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.5573, allocations: 27.97 kB / 0.7437 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/0.5593, allocations: 1.65 MB / 0.7454 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5593, allocations: 3.984 kB / 0.7454 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.5615, allocations: 1.051 MB / 0.7464 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/0.562, allocations: 279.7 kB / 0.7467 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.5621, allocations: 24.06 kB / 0.7467 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007131/0.5628, allocations: 71.92 kB / 0.7467 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.563, allocations: 76.89 kB / 0.7468 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.5631, allocations: 35.97 kB / 0.7469 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005918/0.5637, allocations: 463 kB / 0.7473 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5637, allocations: 0 / 0.7473 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001094/0.5648, allocations: 331.2 kB / 0.7476 GB, free: 344 kB / 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.2861/0.8509, allocations: 0.6114 MB / 0.7482 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003833/0.8548, allocations: 1.081 MB / 0.7493 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8548, allocations: 1.781 kB / 0.7493 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/0.856, allocations: 0.5456 MB / 0.7498 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.8579, allocations: 293.3 kB / 0.7501 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.8616, allocations: 2.129 MB / 0.7522 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.8623, allocations: 1.037 MB / 0.7532 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8634, allocations: 271 kB / 0.7534 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.8637, allocations: 112.1 kB / 0.7535 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.8637, allocations: 1.188 kB / 0.7535 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02742/0.8911, allocations: 15.48 MB / 0.7687 GB, free: 163 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)