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.001294/0.001294, allocations: 111.5 kB / 17.04 MB, free: 5.812 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.001284/0.001284, allocations: 195 kB / 17.98 MB, free: 5.031 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7355/0.7355, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3176, allocations: 76.15 MB / 0.5576 GB, free: 36.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.0054/0.3231, allocations: 4.798 MB / 0.5622 GB, free: 33.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1487/0.4718, allocations: 150.6 MB / 0.7093 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009298/0.4728, allocations: 15.94 kB / 0.7093 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.4736, allocations: 198.1 kB / 0.7095 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4755, allocations: 0.5347 MB / 0.71 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.4777, allocations: 0.8377 MB / 0.7109 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.4794, allocations: 1.382 MB / 0.7122 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.4803, allocations: 0.5947 MB / 0.7128 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006516/0.481, allocations: 486.4 kB / 0.7133 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005741/0.4816, allocations: 0.4957 MB / 0.7137 GB, free: 4.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001824/0.4818, allocations: 120 kB / 0.7139 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009598/0.4827, allocations: 491.5 kB / 0.7143 GB, free: 3.492 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.483, allocations: 295 kB / 0.7146 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.4836, allocations: 0.5558 MB / 0.7152 GB, free: 2.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.4856, allocations: 1.643 MB / 0.7168 GB, free: 1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4856, allocations: 0 / 0.7168 GB, free: 1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4856, allocations: 3.938 kB / 0.7168 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.981e-05/0.4857, allocations: 0 / 0.7168 GB, free: 0.9961 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.002713/0.4884, allocations: 1.418 MB / 0.7181 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4884, allocations: 12.03 kB / 0.7182 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009199/0.4894, allocations: 187.4 kB / 0.7183 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.4906, allocations: 0.754 MB / 0.7191 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.4907, allocations: 62 kB / 0.7191 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4908, allocations: 83.94 kB / 0.7192 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.4924, allocations: 0.9222 MB / 0.7201 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4924, allocations: 0 / 0.7201 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.4925, allocations: 39.94 kB / 0.7201 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.4925, allocations: 20 kB / 0.7202 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4942, allocations: 1.112 MB / 0.7213 GB, free: 12.26 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.004158/0.4984, allocations: 2.706 MB / 0.7239 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.5, allocations: 0.8909 MB / 0.7248 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.5006, allocations: 298.7 kB / 0.7251 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.622e-05/0.5007, allocations: 36.59 kB / 0.7251 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008143/0.5015, allocations: 0.4888 MB / 0.7256 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/0.5015, allocations: 0 / 0.7256 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.00309/0.5046, allocations: 1.186 MB / 0.7267 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.799e-05/0.5047, allocations: 196.5 kB / 0.7269 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.5055, allocations: 0.633 MB / 0.7275 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.925e-05/0.5056, allocations: 37.7 kB / 0.7276 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.5059, allocations: 380.5 kB / 0.7279 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002311/0.5062, allocations: 264.3 kB / 0.7282 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002579/0.5064, allocations: 162.5 kB / 0.7283 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5066, allocations: 390.6 kB / 0.7287 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.5071, allocations: 265.9 kB / 0.729 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006281/0.5078, allocations: 363.1 kB / 0.7293 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5088, allocations: 0.6033 MB / 0.7299 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.5089, allocations: 0 / 0.7299 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001956/0.5108, allocations: 0.8527 MB / 0.7307 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5108, allocations: 4 kB / 0.7307 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.5109, allocations: 4.062 kB / 0.7307 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.5115, allocations: 88.8 kB / 0.7308 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/0.5122, allocations: 155.8 kB / 0.731 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.5143, allocations: 1.642 MB / 0.7326 GB, free: 212 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007786/0.5151, allocations: 87.64 kB / 0.7327 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.5152, allocations: 39.95 kB / 0.7327 GB, free: 84 kB / 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.0004997/0.5157, allocations: 275.3 kB / 0.733 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.5159, allocations: 82.97 kB / 0.733 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.5185, allocations: 1.05 MB / 0.7341 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5185, allocations: 12 kB / 0.7341 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5185, allocations: 3.938 kB / 0.7341 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.5186, allocations: 3.984 kB / 0.7341 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.522, allocations: 1.967 MB / 0.736 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.522, allocations: 0 / 0.736 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.5226, allocations: 143.8 kB / 0.7361 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.5231, allocations: 72.78 kB / 0.7362 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.252e-05/0.5232, allocations: 27.98 kB / 0.7362 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.5252, allocations: 1.666 MB / 0.7379 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5252, allocations: 4.031 kB / 0.7379 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/0.5273, allocations: 0.9941 MB / 0.7388 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.5278, allocations: 267.8 kB / 0.7391 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.528, allocations: 20 kB / 0.7391 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007243/0.5288, allocations: 62.73 kB / 0.7392 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.5289, allocations: 72.84 kB / 0.7392 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.488e-05/0.529, allocations: 43.91 kB / 0.7393 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000689/0.5297, allocations: 455 kB / 0.7397 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5297, allocations: 0 / 0.7397 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001012/0.5308, allocations: 319.2 kB / 0.74 GB, free: 8.312 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.001513/0.5323, allocations: 0.5986 MB / 0.7406 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.5342, allocations: 0.8312 MB / 0.7414 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5343, allocations: 0 / 0.7414 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.5353, allocations: 0.5199 MB / 0.7419 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.5367, allocations: 302.9 kB / 0.7422 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.5397, allocations: 1.625 MB / 0.7438 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.5403, allocations: 1.015 MB / 0.7448 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008078/0.5411, allocations: 262.6 kB / 0.745 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.5414, allocations: 99.39 kB / 0.7451 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of SimCode: time 2.264e-06/0.5414, allocations: 0 / 0.7451 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of Templates: time 0.2454/0.7868, allocations: 15.15 MB / 0.7599 GB, free: 172.4 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)