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.001235/0.001236, allocations: 105.4 kB / 16.27 MB, free: 6.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.001231/0.001231, allocations: 188.9 kB / 17.2 MB, free: 5.719 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7639/0.7639, allocations: 126.1 MB / 417.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 67.89 kB / 0.495 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3721, allocations: 78.7 MB / 0.5718 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006653/0.3788, allocations: 4.904 MB / 0.5766 GB, free: 28.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1679/0.5467, allocations: 150.6 MB / 0.7237 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.5478, allocations: 15.94 kB / 0.7237 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007299/0.5486, allocations: 194.2 kB / 0.7239 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.5508, allocations: 0.5605 MB / 0.7245 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.5531, allocations: 0.838 MB / 0.7253 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5546, allocations: 1.417 MB / 0.7267 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009641/0.5556, allocations: 0.5948 MB / 0.7272 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007273/0.5564, allocations: 498.3 kB / 0.7277 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007036/0.5571, allocations: 0.5251 MB / 0.7282 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.5573, allocations: 116 kB / 0.7283 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.5583, allocations: 455.7 kB / 0.7288 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.5586, allocations: 314.9 kB / 0.7291 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005995/0.5592, allocations: 0.5752 MB / 0.7296 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.5618, allocations: 1.616 MB / 0.7312 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5618, allocations: 7.984 kB / 0.7312 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5618, allocations: 0 / 0.7312 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.5618, allocations: 0 / 0.7312 GB, free: 3.031 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.002849/0.5647, allocations: 1.451 MB / 0.7326 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.5647, allocations: 12.03 kB / 0.7326 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009864/0.5657, allocations: 191.3 kB / 0.7328 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.5669, allocations: 0.7585 MB / 0.7336 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.567, allocations: 62 kB / 0.7336 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5671, allocations: 88 kB / 0.7337 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5687, allocations: 0.9418 MB / 0.7346 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.099e-05/0.5688, allocations: 0 / 0.7346 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.689e-05/0.5689, allocations: 36 kB / 0.7347 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.5689, allocations: 23.94 kB / 0.7347 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.5707, allocations: 1.128 MB / 0.7358 GB, free: 14.2 MB / 0.5762 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.004121/0.5748, allocations: 2.746 MB / 0.7385 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.5763, allocations: 0.9032 MB / 0.7394 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.5769, allocations: 318.7 kB / 0.7397 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.339e-05/0.577, allocations: 28.61 kB / 0.7397 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009974/0.578, allocations: 0.5275 MB / 0.7402 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.578, allocations: 0 / 0.7402 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003265/0.5813, allocations: 1.251 MB / 0.7414 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.5814, allocations: 188.9 kB / 0.7416 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.5823, allocations: 0.641 MB / 0.7422 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.5824, allocations: 49.7 kB / 0.7423 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.5827, allocations: 396.5 kB / 0.7427 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.5829, allocations: 276 kB / 0.7429 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5831, allocations: 174.5 kB / 0.7431 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5833, allocations: 386.8 kB / 0.7435 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.5838, allocations: 273.8 kB / 0.7437 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006412/0.5845, allocations: 375.1 kB / 0.7441 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.5857, allocations: 0.6242 MB / 0.7447 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5857, allocations: 4 kB / 0.7447 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001976/0.5877, allocations: 0.8722 MB / 0.7455 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5877, allocations: 10.19 kB / 0.7455 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5877, allocations: 3.938 kB / 0.7456 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.5883, allocations: 88.8 kB / 0.7456 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.589, allocations: 163.8 kB / 0.7458 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.5912, allocations: 1.624 MB / 0.7474 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.592, allocations: 103.3 kB / 0.7475 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.592, allocations: 39.91 kB / 0.7475 GB, free: 1.75 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.0004096/0.5925, allocations: 280.6 kB / 0.7478 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.5926, allocations: 82.97 kB / 0.7479 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.5951, allocations: 1.132 MB / 0.749 GB, free: 236 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.5951, allocations: 19.88 kB / 0.749 GB, free: 216 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5951, allocations: 4 kB / 0.749 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5952, allocations: 11.97 kB / 0.749 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2526/0.8478, allocations: 2 MB / 0.751 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.8478, allocations: 3.688 kB / 0.751 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.8485, allocations: 153.6 kB / 0.7511 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.8489, allocations: 72.95 kB / 0.7512 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.849, allocations: 30.8 kB / 0.7512 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.8506, allocations: 1.658 MB / 0.7528 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8506, allocations: 1.156 kB / 0.7528 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/0.8528, allocations: 1.045 MB / 0.7538 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.8531, allocations: 284.7 kB / 0.7541 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.8533, allocations: 18.59 kB / 0.7541 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.854, allocations: 65.97 kB / 0.7542 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.8542, allocations: 78.55 kB / 0.7543 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-05/0.8543, allocations: 39.08 kB / 0.7543 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006532/0.8549, allocations: 465.1 kB / 0.7548 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8549, allocations: 0.8125 kB / 0.7548 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009198/0.8559, allocations: 330.2 kB / 0.7551 GB, free: 167.5 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.001325/0.8572, allocations: 0.6192 MB / 0.7557 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002791/0.86, allocations: 1.08 MB / 0.7567 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.86, allocations: 2.094 kB / 0.7567 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.8609, allocations: 0.5467 MB / 0.7573 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.8622, allocations: 296.4 kB / 0.7575 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.8649, allocations: 1.717 MB / 0.7592 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.8654, allocations: 1.041 MB / 0.7602 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008098/0.8662, allocations: 271.9 kB / 0.7605 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.8664, allocations: 108.4 kB / 0.7606 GB, free: 165 MB / 0.5762 GB Notification: Performance of SimCode: time 4.5e-07/0.8665, allocations: 0 / 0.7606 GB, free: 165 MB / 0.5762 GB Notification: Performance of Templates: time 0.02559/0.8921, allocations: 15.59 MB / 0.7758 GB, free: 156 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)