Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, 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.005358/0.005358, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.465/1.465, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 11.83 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3878, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01325/0.4011, allocations: 11.08 MB / 1.085 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1854/0.5866, allocations: 148.7 MB / 1.23 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/0.5915, allocations: 27.88 kB / 1.23 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.5935, allocations: 321.2 kB / 1.231 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.5991, allocations: 1.024 MB / 1.232 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003781/0.6029, allocations: 1.489 MB / 1.233 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005643/0.6086, allocations: 3.86 MB / 1.237 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.6118, allocations: 2.218 MB / 1.239 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.6139, allocations: 1.081 MB / 1.24 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.6155, allocations: 1.287 MB / 1.241 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.6157, allocations: 76 kB / 1.241 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.617, allocations: 451.6 kB / 1.242 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000498/0.6175, allocations: 0.4935 MB / 1.242 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00157/0.6191, allocations: 1.481 MB / 1.244 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005082/0.6242, allocations: 5.271 MB / 1.249 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.6242, allocations: 3.984 kB / 1.249 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.186e-06/0.6242, allocations: 4 kB / 1.249 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001137/0.6243, allocations: 0 / 1.249 GB, free: 4.008 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.007503/0.6318, allocations: 3.045 MB / 1.252 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6319, allocations: 8.031 kB / 1.252 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.802/1.434, allocations: 2.402 MB / 1.254 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/1.438, allocations: 1.74 MB / 1.256 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/1.438, allocations: 259.3 kB / 1.256 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007178/1.439, allocations: 327.2 kB / 1.256 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/1.451, allocations: 4.531 MB / 1.261 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.646e-05/1.451, allocations: 0 / 1.261 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/1.452, allocations: 147.5 kB / 1.261 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/1.452, allocations: 82.16 kB / 1.261 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/1.468, allocations: 5.292 MB / 1.266 GB, free: 175 MB / 0.9981 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.02884/1.496, allocations: 12.66 MB / 1.279 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/1.507, allocations: 3.392 MB / 1.282 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005371/1.513, allocations: 1.753 MB / 1.284 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007735/1.514, allocations: 0.5162 MB / 1.284 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006078/1.52, allocations: 2.159 MB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=249): time 5.6e-06/1.52, allocations: 0 / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249): time 0.01773/1.537, allocations: 5.246 MB / 1.291 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/1.538, allocations: 209 kB / 1.292 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/1.54, allocations: 1.303 MB / 1.293 GB, free: 160 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004845/1.541, allocations: 77.11 kB / 1.293 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009305/1.542, allocations: 1.122 MB / 1.294 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.543, allocations: 0.7961 MB / 1.295 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005887/1.543, allocations: 175.6 kB / 1.295 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.873e-05/1.543, allocations: 302.2 kB / 1.295 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/1.549, allocations: 1.492 MB / 1.297 GB, free: 157 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005522/1.554, allocations: 1.693 MB / 1.298 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/1.565, allocations: 3.097 MB / 1.301 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.565, allocations: 0 / 1.301 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01342/1.578, allocations: 3.684 MB / 1.305 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/1.578, allocations: 11.83 kB / 1.305 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.578, allocations: 3.938 kB / 1.305 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/1.579, allocations: 87.59 kB / 1.305 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004331/1.583, allocations: 0.6847 MB / 1.306 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/1.585, allocations: 1.552 MB / 1.307 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/1.59, allocations: 466.5 kB / 1.308 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006264/1.59, allocations: 119.3 kB / 1.308 GB, free: 150.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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.002144/1.593, allocations: 0.6121 MB / 1.308 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008426/1.593, allocations: 194.8 kB / 1.309 GB, free: 150 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01434/1.608, allocations: 4.39 MB / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/1.608, allocations: 28 kB / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.608, allocations: 0 / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/1.608, allocations: 14.39 kB / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/1.613, allocations: 3.422 MB / 1.316 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/1.613, allocations: 8 kB / 1.316 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003885/1.617, allocations: 0.6319 MB / 1.317 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005561/1.618, allocations: 80.78 kB / 1.317 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003731/1.618, allocations: 95.83 kB / 1.317 GB, free: 141.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/1.62, allocations: 1.556 MB / 1.319 GB, free: 140 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.62, allocations: 0 / 1.319 GB, free: 140 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/1.631, allocations: 3.774 MB / 1.322 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.633, allocations: 0.7435 MB / 1.323 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/1.634, allocations: 51.94 kB / 1.323 GB, free: 135.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/1.638, allocations: 340.8 kB / 1.323 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/1.639, allocations: 177.9 kB / 1.323 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.639, allocations: 115.8 kB / 1.324 GB, free: 134.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001816/1.641, allocations: 0.9715 MB / 1.325 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.641, allocations: 0 / 1.325 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003071/1.644, allocations: 0.9055 MB / 1.325 GB, free: 132.9 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: 22 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of discrete states: 11 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001926/1.646, allocations: 0.6766 MB / 1.326 GB, free: 132.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.656, allocations: 3.694 MB / 1.33 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.656, allocations: 0.8594 kB / 1.33 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005606/1.662, allocations: 2.018 MB / 1.332 GB, free: 126.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.665, allocations: 437.9 kB / 1.332 GB, free: 126.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/1.679, allocations: 6.931 MB / 1.339 GB, free: 119.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/1.681, allocations: 1.722 MB / 1.341 GB, free: 117.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005584/1.687, allocations: 0.6418 MB / 1.341 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001891/1.689, allocations: 283.2 kB / 1.341 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.689, allocations: 0 / 1.341 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0615/1.75, allocations: 37.27 MB / 1.378 GB, free: 79.56 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)