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.00134/0.00134, allocations: 101.7 kB / 16.27 MB, free: 5.855 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.001401/0.001401, allocations: 187.7 kB / 17.19 MB, free: 5.508 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.324/1.324, 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.7604/0.7604, allocations: 126.4 MB / 417.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.89 kB / 0.4953 GB, free: 3.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 78.77 MB / 0.5723 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00574/0.374, allocations: 4.901 MB / 0.5771 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1628/0.5368, allocations: 150.6 MB / 0.7242 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.5382, allocations: 19.88 kB / 0.7242 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.5388, allocations: 190.2 kB / 0.7244 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.5408, allocations: 0.549 MB / 0.7249 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.543, allocations: 0.8438 MB / 0.7257 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.5446, allocations: 1.425 MB / 0.7271 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000868/0.5455, allocations: 0.5909 MB / 0.7277 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.5462, allocations: 0.4905 MB / 0.7282 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000574/0.5468, allocations: 0.5212 MB / 0.7287 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.547, allocations: 116 kB / 0.7288 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009956/0.548, allocations: 463.6 kB / 0.7292 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.5483, allocations: 307 kB / 0.7295 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.5488, allocations: 0.5635 MB / 0.7301 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.5505, allocations: 1.624 MB / 0.7317 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5506, allocations: 3.984 kB / 0.7317 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5506, allocations: 0 / 0.7317 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5506, allocations: 4 kB / 0.7317 GB, free: 2.57 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.002483/0.5531, allocations: 1.459 MB / 0.7331 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5531, allocations: 12.03 kB / 0.7331 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009075/0.554, allocations: 187.3 kB / 0.7333 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5551, allocations: 0.7547 MB / 0.734 GB, free: 64 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.285e-05/0.5551, allocations: 66 kB / 0.7341 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5553, allocations: 84.05 kB / 0.7342 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5568, allocations: 0.9378 MB / 0.7351 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5568, allocations: 0 / 0.7351 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.5569, allocations: 40 kB / 0.7351 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.5569, allocations: 20 kB / 0.7351 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5587, allocations: 1.128 MB / 0.7362 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.5626, allocations: 2.8 MB / 0.739 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5642, allocations: 0.8993 MB / 0.7399 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.5647, allocations: 318.6 kB / 0.7402 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.96e-05/0.5648, allocations: 40.61 kB / 0.7402 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.5657, allocations: 0.508 MB / 0.7407 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.795e-06/0.5657, allocations: 0 / 0.7407 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003359/0.5691, allocations: 1.255 MB / 0.7419 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.5692, allocations: 196.9 kB / 0.7421 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008951/0.5701, allocations: 0.641 MB / 0.7427 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.5702, allocations: 49.69 kB / 0.7428 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.5706, allocations: 388.5 kB / 0.7431 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/0.5708, allocations: 276 kB / 0.7434 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.5711, allocations: 170.5 kB / 0.7436 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.5713, allocations: 386.8 kB / 0.7439 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.5719, allocations: 277.8 kB / 0.7442 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.5725, allocations: 379 kB / 0.7446 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.5736, allocations: 0.6281 MB / 0.7452 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5736, allocations: 0 / 0.7452 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001971/0.5756, allocations: 0.8761 MB / 0.746 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5756, allocations: 8 kB / 0.746 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5756, allocations: 3.938 kB / 0.746 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.5762, allocations: 80.86 kB / 0.7461 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.5769, allocations: 171.7 kB / 0.7463 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.5789, allocations: 1.627 MB / 0.7479 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/0.5797, allocations: 100.3 kB / 0.748 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.5798, allocations: 43.95 kB / 0.748 GB, free: 1.223 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.0004641/0.5802, allocations: 279.7 kB / 0.7483 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.5804, allocations: 82.97 kB / 0.7484 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3183/0.8987, allocations: 1.129 MB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.8987, allocations: 18.53 kB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8987, allocations: 1.438 kB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.8988, allocations: 5.719 kB / 0.7495 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/0.9028, allocations: 2.009 MB / 0.7514 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9028, allocations: 5.5 kB / 0.7515 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.9035, allocations: 158.7 kB / 0.7516 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004604/0.9039, allocations: 72.56 kB / 0.7517 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.904, allocations: 26.98 kB / 0.7517 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/0.9056, allocations: 1.662 MB / 0.7533 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9057, allocations: 2.406 kB / 0.7533 GB, free: 168 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.9079, allocations: 1.041 MB / 0.7543 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.9084, allocations: 279.9 kB / 0.7546 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.9085, allocations: 24.62 kB / 0.7546 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007254/0.9092, allocations: 68.06 kB / 0.7547 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.9095, allocations: 78 kB / 0.7548 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.968e-05/0.9096, allocations: 36.3 kB / 0.7548 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006837/0.9102, allocations: 465.7 kB / 0.7553 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9103, allocations: 0 / 0.7553 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001036/0.9113, allocations: 336 kB / 0.7556 GB, free: 167.1 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.001441/0.9127, allocations: 0.6085 MB / 0.7562 GB, free: 167 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002865/0.9156, allocations: 1.079 MB / 0.7572 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.9156, allocations: 3.938 kB / 0.7572 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.9166, allocations: 0.5413 MB / 0.7578 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.9178, allocations: 309.8 kB / 0.758 GB, free: 166.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002769/0.9206, allocations: 1.714 MB / 0.7597 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004861/0.9211, allocations: 1.039 MB / 0.7607 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000838/0.922, allocations: 270.5 kB / 0.761 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.9223, allocations: 110.9 kB / 0.7611 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.353e-06/0.9223, allocations: 0 / 0.7611 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.02388/0.9462, allocations: 15.6 MB / 0.7763 GB, free: 155.2 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)