Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001786/0.001787, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002114/0.002114, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.75 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3214, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006677/0.3281, allocations: 4.796 MB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.4917, allocations: 148.3 MB / 1.217 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.4928, allocations: 15.88 kB / 1.217 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009672/0.4938, allocations: 146.9 kB / 1.217 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.4959, allocations: 476.4 kB / 1.218 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.4979, allocations: 0.7038 MB / 1.218 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001731/0.4996, allocations: 1.276 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009995/0.5006, allocations: 0.5612 MB / 1.22 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007449/0.5014, allocations: 410.3 kB / 1.22 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.5021, allocations: 469.9 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.5023, allocations: 56 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009578/0.5033, allocations: 395.6 kB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.5036, allocations: 231 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.5042, allocations: 0.4894 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.5061, allocations: 1.519 MB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5061, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5061, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.265e-05/0.5062, allocations: 0 / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003307/0.5095, allocations: 1.412 MB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5096, allocations: 8.031 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5107, allocations: 187.4 kB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.5119, allocations: 0.7306 MB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.5119, allocations: 61.94 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.5121, allocations: 79.94 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.514, allocations: 0.9066 MB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.514, allocations: 0 / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5141, allocations: 39.98 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.5142, allocations: 20 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.5161, allocations: 1.093 MB / 1.228 GB, free: 5.883 MB / 0.9825 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.00474/0.5209, allocations: 2.685 MB / 1.231 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.5225, allocations: 0.8688 MB / 1.231 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.5231, allocations: 300.9 kB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.431e-05/0.5232, allocations: 28.61 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009795/0.5242, allocations: 495.1 kB / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.866e-06/0.5242, allocations: 0 / 1.232 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003493/0.5277, allocations: 1.182 MB / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.5278, allocations: 192.6 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009395/0.5288, allocations: 0.6252 MB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/0.5289, allocations: 41.7 kB / 1.234 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.5292, allocations: 388.4 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.5295, allocations: 260.3 kB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.5298, allocations: 158.5 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.53, allocations: 390.7 kB / 1.235 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005873/0.5306, allocations: 269.8 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.5312, allocations: 359.1 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.5324, allocations: 0.5955 MB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5324, allocations: 4 kB / 1.237 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002085/0.5345, allocations: 0.8372 MB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5345, allocations: 11.94 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5345, allocations: 3.984 kB / 1.237 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006635/0.5352, allocations: 80.88 kB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.5359, allocations: 151.8 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.5386, allocations: 1.538 MB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.5396, allocations: 91.27 kB / 1.239 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.5398, allocations: 35.97 kB / 1.239 GB, free: 9.906 MB / 0.9981 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.0007526/0.5405, allocations: 267.9 kB / 1.239 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.5409, allocations: 90.91 kB / 1.24 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.5437, allocations: 1.046 MB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.5438, allocations: 12 kB / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5438, allocations: 0 / 1.241 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5438, allocations: 3.984 kB / 1.241 GB, free: 8.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.5475, allocations: 1.895 MB / 1.242 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5476, allocations: 0 / 1.242 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.5482, allocations: 147.8 kB / 1.243 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.5487, allocations: 88.7 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.5488, allocations: 23.98 kB / 1.243 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.5507, allocations: 1.548 MB / 1.244 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5507, allocations: 0 / 1.244 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002095/0.5528, allocations: 0.9843 MB / 1.245 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/0.5533, allocations: 271.7 kB / 1.245 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5534, allocations: 16 kB / 1.245 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007481/0.5542, allocations: 65.66 kB / 1.245 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.5544, allocations: 76.83 kB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.5545, allocations: 31.98 kB / 1.246 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006383/0.5551, allocations: 455 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5551, allocations: 0 / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009604/0.5561, allocations: 323.2 kB / 1.246 GB, free: 2.336 MB / 0.9981 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.001532/0.5576, allocations: 0.6143 MB / 1.247 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.5595, allocations: 0.8078 MB / 1.248 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5595, allocations: 3.938 kB / 1.248 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.5605, allocations: 0.516 MB / 1.248 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5618, allocations: 266.5 kB / 1.248 GB, free: 296 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5492/1.111, allocations: 2.014 MB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/1.112, allocations: 1.019 MB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001065/1.113, allocations: 260.2 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/1.113, allocations: 100.6 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.113, allocations: 3.812 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02798/1.141, allocations: 14.31 MB / 1.266 GB, free: 180.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)