Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 175.6 kB / 16.58 MB, free: 6.852 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.395/1.395, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 8 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 77.52 MB / 0.5593 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006777/0.1564, allocations: 4.146 MB / 0.5634 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4647/0.6211, allocations: 136.8 MB / 0.697 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.6222, allocations: 15.94 kB / 0.697 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008504/0.6231, allocations: 142.8 kB / 0.6971 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.6257, allocations: 449.6 kB / 0.6975 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002897/0.6286, allocations: 0.6342 MB / 0.6982 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.6308, allocations: 1.191 MB / 0.6993 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.632, allocations: 458.8 kB / 0.6998 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007865/0.6328, allocations: 338.6 kB / 0.7001 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.6335, allocations: 370.1 kB / 0.7004 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.6337, allocations: 24 kB / 0.7005 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.6346, allocations: 335.7 kB / 0.7008 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.6349, allocations: 179.2 kB / 0.701 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.6352, allocations: 201.1 kB / 0.7011 GB, free: 6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.6367, allocations: 1.185 MB / 0.7023 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6368, allocations: 0 / 0.7023 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6368, allocations: 0 / 0.7023 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.908e-05/0.6368, allocations: 0 / 0.7023 GB, free: 4.812 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002549/0.6394, allocations: 1.224 MB / 0.7035 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6394, allocations: 8.031 kB / 0.7035 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.6404, allocations: 194.5 kB / 0.7037 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.6416, allocations: 0.7108 MB / 0.7044 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.6417, allocations: 66 kB / 0.7045 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.6418, allocations: 83.95 kB / 0.7045 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.6435, allocations: 0.9184 MB / 0.7054 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.6436, allocations: 0 / 0.7054 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.6437, allocations: 32 kB / 0.7055 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/0.6437, allocations: 23.98 kB / 0.7055 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.6455, allocations: 1.116 MB / 0.7066 GB, free: 316 kB / 0.5137 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.004058/0.6496, allocations: 2.753 MB / 0.7093 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.651, allocations: 0.8903 MB / 0.7101 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.6515, allocations: 315.3 kB / 0.7104 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/0.6516, allocations: 32.53 kB / 0.7105 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007872/0.6524, allocations: 497.1 kB / 0.7109 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=79): time 2.284e-06/0.6524, allocations: 4 kB / 0.7109 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=79): time 0.002787/0.6552, allocations: 1.203 MB / 0.7121 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.6553, allocations: 196.5 kB / 0.7123 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.656, allocations: 0.6175 MB / 0.7129 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.6561, allocations: 45.7 kB / 0.7129 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.6564, allocations: 380.4 kB / 0.7133 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.6566, allocations: 268.2 kB / 0.7136 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.6566, allocations: 16 kB / 0.7136 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6568, allocations: 386.8 kB / 0.714 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000481/0.6573, allocations: 265.9 kB / 0.7142 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.6579, allocations: 367 kB / 0.7146 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.6584, allocations: 310.8 kB / 0.7149 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6584, allocations: 0 / 0.7149 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001703/0.6601, allocations: 0.8527 MB / 0.7157 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6602, allocations: 4 kB / 0.7157 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6602, allocations: 7.953 kB / 0.7157 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.6607, allocations: 88.8 kB / 0.7158 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.6613, allocations: 159.8 kB / 0.7159 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.6632, allocations: 1.528 MB / 0.7174 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.6639, allocations: 106.2 kB / 0.7175 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.664, allocations: 39.97 kB / 0.7176 GB, free: 4.629 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000393/0.6644, allocations: 263.6 kB / 0.7178 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6645, allocations: 86.95 kB / 0.7179 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002238/0.6668, allocations: 1.073 MB / 0.7189 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6668, allocations: 15.98 kB / 0.719 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6668, allocations: 0 / 0.719 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.6668, allocations: 7.984 kB / 0.719 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.6699, allocations: 1.954 MB / 0.7209 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.67, allocations: 3.984 kB / 0.7209 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005397/0.6705, allocations: 143.8 kB / 0.721 GB, free: 1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.6711, allocations: 84.77 kB / 0.7211 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.6712, allocations: 27.94 kB / 0.7211 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.6729, allocations: 1.563 MB / 0.7227 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6729, allocations: 0 / 0.7227 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.6747, allocations: 1 MB / 0.7236 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.6751, allocations: 279.7 kB / 0.7239 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6753, allocations: 24 kB / 0.7239 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.6759, allocations: 83.86 kB / 0.724 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6761, allocations: 72.89 kB / 0.7241 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.6762, allocations: 31.98 kB / 0.7241 GB, free: 13.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006152/0.6768, allocations: 447 kB / 0.7245 GB, free: 13.24 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6768, allocations: 4 kB / 0.7245 GB, free: 13.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009547/0.6778, allocations: 319.2 kB / 0.7248 GB, free: 12.92 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.6792, allocations: 0.6022 MB / 0.7254 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.6808, allocations: 0.8241 MB / 0.7262 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.6809, allocations: 4 kB / 0.7262 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008775/0.6817, allocations: 0.5157 MB / 0.7267 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.6829, allocations: 264.6 kB / 0.727 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.6861, allocations: 2.027 MB / 0.729 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.6868, allocations: 1.02 MB / 0.73 GB, free: 7.789 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008534/0.6876, allocations: 258.5 kB / 0.7302 GB, free: 7.531 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.6879, allocations: 103.4 kB / 0.7303 GB, free: 7.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.688, allocations: 0 / 0.7303 GB, free: 7.43 MB / 0.545 GB Notification: Performance of Templates: time 0.02609/0.7141, allocations: 13.99 MB / 0.744 GB, free: 9.621 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)