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.001491/0.001491, allocations: 109.6 kB / 16.52 MB, free: 6.664 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.00146/0.00146, allocations: 195.2 kB / 17.44 MB, free: 6.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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.698/0.698, allocations: 115.3 MB / 406.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3343, allocations: 76.17 MB / 0.5564 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005456/0.3398, allocations: 4.807 MB / 0.5611 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1546/0.4944, allocations: 148.3 MB / 0.7059 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.4958, allocations: 23.88 kB / 0.7059 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.4969, allocations: 150.9 kB / 0.706 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.4994, allocations: 464.8 kB / 0.7065 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.502, allocations: 0.7277 MB / 0.7072 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.5039, allocations: 1.28 MB / 0.7084 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.5052, allocations: 0.5788 MB / 0.709 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009282/0.5061, allocations: 418.3 kB / 0.7094 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009314/0.5071, allocations: 477.8 kB / 0.7099 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.5074, allocations: 56 kB / 0.7099 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.5086, allocations: 403.5 kB / 0.7103 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.509, allocations: 239 kB / 0.7105 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.5098, allocations: 0.5011 MB / 0.711 GB, free: 5.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.5115, allocations: 1.216 MB / 0.7122 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5115, allocations: 0 / 0.7122 GB, free: 4.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5115, allocations: 4 kB / 0.7122 GB, free: 4.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.91e-05/0.5115, allocations: 0 / 0.7122 GB, free: 4.605 MB / 0.545 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.003457/0.515, allocations: 1.418 MB / 0.7136 GB, free: 3.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.5151, allocations: 11.97 kB / 0.7136 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5161, allocations: 187.4 kB / 0.7138 GB, free: 2.945 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5174, allocations: 0.7382 MB / 0.7145 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.5175, allocations: 62 kB / 0.7146 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.5176, allocations: 80 kB / 0.7146 GB, free: 2.023 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5194, allocations: 0.9223 MB / 0.7155 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5195, allocations: 0 / 0.7155 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.163e-05/0.5196, allocations: 32 kB / 0.7156 GB, free: 1.027 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.5196, allocations: 24 kB / 0.7156 GB, free: 1.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.5215, allocations: 1.112 MB / 0.7167 GB, free: 15.89 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.004465/0.5259, allocations: 2.72 MB / 0.7193 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.5276, allocations: 0.8992 MB / 0.7202 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.5281, allocations: 307.7 kB / 0.7205 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.5282, allocations: 28.61 kB / 0.7205 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009524/0.5292, allocations: 0.4912 MB / 0.721 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.816e-06/0.5292, allocations: 0 / 0.721 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003287/0.5325, allocations: 1.19 MB / 0.7222 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5326, allocations: 196.6 kB / 0.7224 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.5335, allocations: 0.6252 MB / 0.723 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-05/0.5336, allocations: 41.7 kB / 0.723 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.534, allocations: 388.5 kB / 0.7234 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.5342, allocations: 256.3 kB / 0.7236 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.5345, allocations: 166.5 kB / 0.7238 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5347, allocations: 386.7 kB / 0.7242 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005432/0.5352, allocations: 265.9 kB / 0.7244 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.5358, allocations: 363.1 kB / 0.7248 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.537, allocations: 0.6072 MB / 0.7253 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.537, allocations: 0 / 0.7253 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002053/0.5391, allocations: 0.8448 MB / 0.7262 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5391, allocations: 8.094 kB / 0.7262 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5391, allocations: 4 kB / 0.7262 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/0.5398, allocations: 84.72 kB / 0.7263 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.5404, allocations: 159.7 kB / 0.7264 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.5426, allocations: 1.546 MB / 0.7279 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.5434, allocations: 91.44 kB / 0.728 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/0.5436, allocations: 31.97 kB / 0.728 GB, free: 3.797 MB / 0.5606 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 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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.0005104/0.5441, allocations: 263.4 kB / 0.7283 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/0.5443, allocations: 90.91 kB / 0.7284 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002474/0.5468, allocations: 1.054 MB / 0.7294 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5468, allocations: 19.98 kB / 0.7294 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5468, allocations: 0 / 0.7294 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.5468, allocations: 3.984 kB / 0.7294 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.5503, allocations: 1.958 MB / 0.7313 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.5503, allocations: 3.984 kB / 0.7314 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.5509, allocations: 139.8 kB / 0.7315 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/0.5514, allocations: 84.77 kB / 0.7316 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.5515, allocations: 23.98 kB / 0.7316 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.5533, allocations: 1.567 MB / 0.7331 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5534, allocations: 0 / 0.7331 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.5554, allocations: 0.996 MB / 0.7341 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/0.5558, allocations: 267.8 kB / 0.7343 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.556, allocations: 16 kB / 0.7344 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.5567, allocations: 81.25 kB / 0.7344 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.5569, allocations: 68.91 kB / 0.7345 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.557, allocations: 35.97 kB / 0.7345 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006035/0.5576, allocations: 451 kB / 0.735 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5576, allocations: 0 / 0.735 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009655/0.5586, allocations: 315.3 kB / 0.7353 GB, free: 12.13 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: 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 (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.001458/0.56, allocations: 0.6064 MB / 0.7359 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.5618, allocations: 0.8311 MB / 0.7367 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5618, allocations: 0 / 0.7367 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/0.5628, allocations: 0.5122 MB / 0.7372 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.564, allocations: 276.2 kB / 0.7374 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.5673, allocations: 2.088 MB / 0.7395 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/0.5679, allocations: 1.012 MB / 0.7405 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.5683, allocations: 123.3 kB / 0.7406 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.5683, allocations: 4 kB / 0.7406 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of Templates: time 0.2749/0.8432, allocations: 18.45 MB / 0.7586 GB, free: 168.7 MB / 0.5762 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)