Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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/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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001626, 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.002604/0.002605, allocations: 193.5 kB / 16.14 MB, free: 6.664 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.979/2.979, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 59.38 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3297, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007152/0.3369, allocations: 4.92 MB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.5088, allocations: 148.3 MB / 1.217 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.5099, allocations: 15.94 kB / 1.217 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008139/0.5108, allocations: 146.8 kB / 1.217 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00196/0.5128, allocations: 473.3 kB / 1.218 GB, free: 484 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00218/0.515, allocations: 0.7389 MB / 1.219 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.5167, allocations: 1.327 MB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009917/0.5177, allocations: 0.5711 MB / 1.22 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.5185, allocations: 438.2 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.5193, allocations: 493.7 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.5195, allocations: 64 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.5205, allocations: 399.6 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.5208, allocations: 239.1 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005307/0.5213, allocations: 0.5127 MB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.523, allocations: 1.566 MB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5231, allocations: 0 / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5231, allocations: 3.938 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.5231, allocations: 3.938 kB / 1.224 GB, free: 10.12 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003044/0.5261, allocations: 1.456 MB / 1.225 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5262, allocations: 8.031 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.5272, allocations: 187.4 kB / 1.226 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5285, allocations: 0.7624 MB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.5286, allocations: 73.94 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5287, allocations: 84 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5305, allocations: 0.9417 MB / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5305, allocations: 0 / 1.227 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.5306, allocations: 36 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.5306, allocations: 24 kB / 1.227 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.5324, allocations: 1.124 MB / 1.229 GB, free: 5.293 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.004531/0.5369, allocations: 2.747 MB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.5386, allocations: 0.9082 MB / 1.232 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.5392, allocations: 322.7 kB / 1.232 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.618e-05/0.5393, allocations: 28.61 kB / 1.232 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.5403, allocations: 0.512 MB / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.5403, allocations: 0 / 1.233 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003504/0.5438, allocations: 1.255 MB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.544, allocations: 196.9 kB / 1.234 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.5451, allocations: 0.6487 MB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/0.5452, allocations: 41.7 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.5456, allocations: 396.4 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.5459, allocations: 276.1 kB / 1.236 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.5462, allocations: 174.4 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.5464, allocations: 382.8 kB / 1.236 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.547, allocations: 277.8 kB / 1.236 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.5477, allocations: 379.1 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5488, allocations: 0.6281 MB / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5488, allocations: 0 / 1.237 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002125/0.551, allocations: 0.8761 MB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.551, allocations: 4 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.551, allocations: 3.938 kB / 1.238 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.5517, allocations: 84.86 kB / 1.238 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.5524, allocations: 171.7 kB / 1.239 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.5546, allocations: 1.52 MB / 1.24 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.5555, allocations: 99.25 kB / 1.24 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.5556, allocations: 44.03 kB / 1.24 GB, free: 8.926 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0005058/0.5561, allocations: 276.3 kB / 1.24 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.5563, allocations: 91.08 kB / 1.241 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.5589, allocations: 1.128 MB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5589, allocations: 12 kB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5589, allocations: 0 / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.5589, allocations: 7.922 kB / 1.242 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/0.5625, allocations: 2.008 MB / 1.244 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5625, allocations: 0 / 1.244 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.5632, allocations: 159.7 kB / 1.244 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000554/0.5637, allocations: 80.77 kB / 1.244 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-05/0.5638, allocations: 31.97 kB / 1.244 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.5665, allocations: 1.552 MB / 1.245 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.5665, allocations: 0 / 1.245 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.5697, allocations: 1.047 MB / 1.246 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.5704, allocations: 275.7 kB / 1.247 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.5707, allocations: 31.84 kB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/0.5716, allocations: 67.92 kB / 1.247 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.5719, allocations: 72.89 kB / 1.247 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.572, allocations: 39.97 kB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008077/0.5728, allocations: 467 kB / 1.247 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.52e-07/0.5728, allocations: 7.938 kB / 1.247 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001357/0.5742, allocations: 331.1 kB / 1.248 GB, free: 1.02 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001691/0.5759, allocations: 0.6015 MB / 1.248 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5516/1.127, allocations: 0.8577 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.128, allocations: 0.8438 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/1.129, allocations: 0.5376 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/1.131, allocations: 268.6 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005024/1.137, allocations: 2.13 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009686/1.138, allocations: 1.035 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001434/1.139, allocations: 268.2 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/1.139, allocations: 110.6 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.593e-06/1.139, allocations: 0 / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03206/1.171, allocations: 14.93 MB / 1.268 GB, free: 180.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)