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.001149/0.001149, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00924/0.00924, allocations: 168.9 kB / 16.26 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 10.56 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3564, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006123/0.3626, allocations: 4.372 MB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.168/0.5306, allocations: 146.7 MB / 1.222 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006685/0.5314, allocations: 11.94 kB / 1.222 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005425/0.5319, allocations: 146.8 kB / 1.222 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.5336, allocations: 465.4 kB / 1.222 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.5353, allocations: 0.7181 MB / 1.223 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.5366, allocations: 1.269 MB / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.5374, allocations: 0.5478 MB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005013/0.5379, allocations: 338.3 kB / 1.225 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004629/0.5384, allocations: 382 kB / 1.225 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.5385, allocations: 27.94 kB / 1.225 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007342/0.5392, allocations: 363.7 kB / 1.226 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.5394, allocations: 187.1 kB / 1.226 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.5398, allocations: 466.9 kB / 1.226 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5413, allocations: 1.468 MB / 1.228 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5413, allocations: 4 kB / 1.228 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5413, allocations: 0 / 1.228 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.5413, allocations: 4 kB / 1.228 GB, free: 9.488 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.002163/0.5435, allocations: 1.204 MB / 1.229 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5436, allocations: 8.031 kB / 1.229 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008673/0.5444, allocations: 199.4 kB / 1.229 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.5455, allocations: 0.7344 MB / 1.23 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.5455, allocations: 58 kB / 1.23 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.5457, allocations: 84 kB / 1.23 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5472, allocations: 0.9028 MB / 1.231 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.5472, allocations: 0 / 1.231 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.5473, allocations: 36 kB / 1.231 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.5473, allocations: 23.98 kB / 1.231 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001703/0.549, allocations: 1.108 MB / 1.232 GB, free: 5.004 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.003917/0.553, allocations: 2.71 MB / 1.235 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5544, allocations: 0.8688 MB / 1.236 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005144/0.555, allocations: 302.7 kB / 1.236 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.5551, allocations: 32.61 kB / 1.236 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000887/0.556, allocations: 0.4912 MB / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.955e-06/0.556, allocations: 0 / 1.236 GB, free: 448 kB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003035/0.559, allocations: 1.198 MB / 1.238 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5591, allocations: 192.6 kB / 1.238 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.5599, allocations: 0.6291 MB / 1.238 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.56, allocations: 41.7 kB / 1.238 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.5603, allocations: 388.4 kB / 1.239 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.5605, allocations: 256.3 kB / 1.239 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.5606, allocations: 73.67 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000223/0.5608, allocations: 382.7 kB / 1.239 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005375/0.5614, allocations: 269.9 kB / 1.24 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.562, allocations: 363.1 kB / 1.24 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.5632, allocations: 0.6072 MB / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5632, allocations: 0 / 1.241 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001897/0.5651, allocations: 0.8527 MB / 1.241 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.5651, allocations: 8 kB / 1.241 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5651, allocations: 0 / 1.241 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.5657, allocations: 80.88 kB / 1.242 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006796/0.5664, allocations: 159.8 kB / 1.242 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5688, allocations: 1.533 MB / 1.243 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007711/0.5696, allocations: 107.4 kB / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.5697, allocations: 31.98 kB / 1.243 GB, free: 9.031 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.0004289/0.5701, allocations: 263.4 kB / 1.244 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.5702, allocations: 83 kB / 1.244 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.5725, allocations: 1.057 MB / 1.245 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.5725, allocations: 8 kB / 1.245 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5725, allocations: 4 kB / 1.245 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.5725, allocations: 12 kB / 1.245 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.5757, allocations: 1.907 MB / 1.247 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5757, allocations: 0 / 1.247 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.5762, allocations: 143.8 kB / 1.247 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/0.5767, allocations: 88.7 kB / 1.247 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.5768, allocations: 23.98 kB / 1.247 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.5786, allocations: 1.555 MB / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5787, allocations: 0 / 1.248 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.5806, allocations: 0.996 MB / 1.249 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.581, allocations: 279.7 kB / 1.25 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5812, allocations: 20 kB / 1.25 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.5818, allocations: 80.58 kB / 1.25 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.582, allocations: 80.78 kB / 1.25 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.5821, allocations: 35.91 kB / 1.25 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000539/0.5826, allocations: 451 kB / 1.25 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5826, allocations: 0 / 1.25 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008762/0.5835, allocations: 323.2 kB / 1.251 GB, free: 1.391 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.001386/0.5849, allocations: 0.598 MB / 1.251 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001662/0.5866, allocations: 0.8314 MB / 1.252 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5866, allocations: 0 / 1.252 GB, free: 128 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.7768/1.363, allocations: 0.5027 MB / 1.252 GB, free: 31.19 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/1.365, allocations: 274.4 kB / 1.253 GB, free: 31.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/1.369, allocations: 2.056 MB / 1.255 GB, free: 30.19 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/1.369, allocations: 1.014 MB / 1.256 GB, free: 29.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001072/1.37, allocations: 260.2 kB / 1.256 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002852/1.371, allocations: 106 kB / 1.256 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/1.371, allocations: 0 / 1.256 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.03071/1.401, allocations: 14.24 MB / 1.27 GB, free: 28.54 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)