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.001053/0.001053, allocations: 117.9 kB / 17.09 MB, free: 5.965 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.0009697/0.0009697, allocations: 197.9 kB / 18.02 MB, free: 5.047 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.241/1.241, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 115.3 MB / 407.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 67.27 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1281, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006141/0.1343, allocations: 4.902 MB / 0.6375 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4989/0.6333, allocations: 150.6 MB / 0.7846 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.6342, allocations: 15.28 kB / 0.7846 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005813/0.6348, allocations: 199.8 kB / 0.7848 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.6365, allocations: 0.5648 MB / 0.7854 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.6384, allocations: 0.8517 MB / 0.7862 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.64, allocations: 1.432 MB / 0.7876 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.6408, allocations: 0.5851 MB / 0.7882 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008038/0.6416, allocations: 0.4996 MB / 0.7887 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007537/0.6424, allocations: 0.5173 MB / 0.7892 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001776/0.6426, allocations: 121.4 kB / 0.7893 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.6435, allocations: 490.1 kB / 0.7897 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.6438, allocations: 305.2 kB / 0.79 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005251/0.6443, allocations: 0.5712 MB / 0.7906 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.6461, allocations: 1.662 MB / 0.7922 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.6461, allocations: 0 / 0.7922 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6461, allocations: 0 / 0.7922 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.361e-05/0.6461, allocations: 0 / 0.7922 GB, free: 13.14 MB / 0.5919 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.002488/0.6486, allocations: 1.47 MB / 0.7937 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.6487, allocations: 8.25 kB / 0.7937 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008866/0.6495, allocations: 182.8 kB / 0.7938 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6507, allocations: 0.7774 MB / 0.7946 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.6507, allocations: 69.55 kB / 0.7947 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.158e-05/0.6508, allocations: 79.25 kB / 0.7947 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6523, allocations: 0.9439 MB / 0.7957 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6523, allocations: 0 / 0.7957 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.6524, allocations: 37.88 kB / 0.7957 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6524, allocations: 21.88 kB / 0.7957 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.654, allocations: 1.124 MB / 0.7968 GB, free: 11.75 MB / 0.5919 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.00392/0.658, allocations: 2.73 MB / 0.7995 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.6595, allocations: 0.9022 MB / 0.8004 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.66, allocations: 323.4 kB / 0.8007 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.66, allocations: 31 kB / 0.8007 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008279/0.6609, allocations: 0.5071 MB / 0.8012 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.294e-06/0.6609, allocations: 0 / 0.8012 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003129/0.664, allocations: 1.255 MB / 0.8024 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.6642, allocations: 199 kB / 0.8026 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.665, allocations: 0.6401 MB / 0.8032 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.623e-05/0.6651, allocations: 40.86 kB / 0.8033 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.6654, allocations: 400.1 kB / 0.8037 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.6656, allocations: 271.8 kB / 0.8039 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.6659, allocations: 174 kB / 0.8041 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.6661, allocations: 393.9 kB / 0.8045 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.6666, allocations: 277.6 kB / 0.8047 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.6672, allocations: 375.2 kB / 0.8051 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6682, allocations: 0.6324 MB / 0.8057 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6682, allocations: 0 / 0.8057 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001915/0.6702, allocations: 0.876 MB / 0.8065 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6702, allocations: 5.062 kB / 0.8066 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.6702, allocations: 2.594 kB / 0.8066 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.6708, allocations: 82.44 kB / 0.8066 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.6715, allocations: 171.8 kB / 0.8068 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.6741, allocations: 1.631 MB / 0.8084 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/0.6751, allocations: 91.7 kB / 0.8085 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/0.6752, allocations: 43.94 kB / 0.8085 GB, free: 6.512 MB / 0.5919 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.0005122/0.6757, allocations: 276.3 kB / 0.8088 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6759, allocations: 85.66 kB / 0.8089 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/0.6782, allocations: 1.135 MB / 0.81 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.6782, allocations: 9.562 kB / 0.81 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6782, allocations: 6.719 kB / 0.81 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.6782, allocations: 3.984 kB / 0.81 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.6814, allocations: 2.015 MB / 0.812 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6814, allocations: 4 kB / 0.812 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.682, allocations: 153.8 kB / 0.8121 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.6824, allocations: 73.11 kB / 0.8122 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.6825, allocations: 30.02 kB / 0.8122 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.6843, allocations: 1.649 MB / 0.8138 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6843, allocations: 3.219 kB / 0.8138 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6863, allocations: 1.05 MB / 0.8148 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.6867, allocations: 286 kB / 0.8151 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6869, allocations: 21.84 kB / 0.8151 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006578/0.6875, allocations: 64.42 kB / 0.8152 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.6877, allocations: 78.77 kB / 0.8153 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.6878, allocations: 38.41 kB / 0.8153 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005527/0.6883, allocations: 465.7 kB / 0.8158 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6883, allocations: 3.938 kB / 0.8158 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008774/0.6892, allocations: 334.5 kB / 0.8161 GB, free: 1.707 MB / 0.5919 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.001294/0.6905, allocations: 0.6088 MB / 0.8167 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.6922, allocations: 0.8609 MB / 0.8175 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6922, allocations: 0 / 0.8175 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008789/0.6931, allocations: 0.5481 MB / 0.8181 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6943, allocations: 306.3 kB / 0.8183 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.6971, allocations: 1.73 MB / 0.82 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.6977, allocations: 1.033 MB / 0.821 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.698, allocations: 116 kB / 0.8212 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.698, allocations: 0 / 0.8212 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.02336/0.7214, allocations: 19.02 MB / 0.8397 GB, free: 15 MB / 0.6231 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)