Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009863/0.0009863, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001027/0.001027, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 304.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9372/0.9372, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 95.09 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1396, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006545/0.1462, allocations: 5.333 MB / 0.6868 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3828/0.529, allocations: 151 MB / 0.8342 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008576/0.5299, allocations: 19.88 kB / 0.8342 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.5307, allocations: 202 kB / 0.8344 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.533, allocations: 0.6309 MB / 0.8351 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.5356, allocations: 1.009 MB / 0.836 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.5376, allocations: 1.81 MB / 0.8378 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.539, allocations: 1.175 MB / 0.839 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.5397, allocations: 0.7668 MB / 0.8397 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007819/0.5405, allocations: 0.8362 MB / 0.8405 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.5408, allocations: 216 kB / 0.8407 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.5416, allocations: 0.5846 MB / 0.8413 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003785/0.542, allocations: 494.5 kB / 0.8418 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000694/0.5427, allocations: 0.9173 MB / 0.8427 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.5449, allocations: 2.569 MB / 0.8452 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.5449, allocations: 0 / 0.8452 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5449, allocations: 0 / 0.8452 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5449, allocations: 0 / 0.8452 GB, free: 6.91 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003355/0.5483, allocations: 2.004 MB / 0.8471 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.5483, allocations: 8.031 kB / 0.8471 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/0.5493, allocations: 250.6 kB / 0.8474 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.5507, allocations: 0.9932 MB / 0.8483 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.5509, allocations: 156.8 kB / 0.8485 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.551, allocations: 148 kB / 0.8486 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5535, allocations: 1.589 MB / 0.8502 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.5536, allocations: 3.938 kB / 0.8502 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.5537, allocations: 68 kB / 0.8503 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.5537, allocations: 36 kB / 0.8503 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.5563, allocations: 1.596 MB / 0.8519 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006082/0.5624, allocations: 4.188 MB / 0.8559 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.5643, allocations: 1.09 MB / 0.857 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/0.5651, allocations: 431.7 kB / 0.8574 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.586e-05/0.5652, allocations: 41.08 kB / 0.8575 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.5663, allocations: 0.6958 MB / 0.8581 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=111): time 2.314e-06/0.5663, allocations: 0 / 0.8581 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=111): time 0.00384/0.5702, allocations: 1.653 MB / 0.8598 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.5703, allocations: 188.9 kB / 0.8599 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.5713, allocations: 0.8492 MB / 0.8608 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.5714, allocations: 49.7 kB / 0.8608 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.5718, allocations: 0.6129 MB / 0.8614 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.5721, allocations: 354.9 kB / 0.8617 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.5724, allocations: 230.6 kB / 0.862 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5725, allocations: 353.9 kB / 0.8623 GB, free: 4.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/0.5733, allocations: 394.4 kB / 0.8627 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008629/0.5742, allocations: 0.511 MB / 0.8632 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.5757, allocations: 0.8838 MB / 0.864 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5758, allocations: 0 / 0.864 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00253/0.5783, allocations: 1.207 MB / 0.8652 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.5783, allocations: 7.938 kB / 0.8652 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5783, allocations: 0 / 0.8652 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/0.5789, allocations: 88.83 kB / 0.8653 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009713/0.5799, allocations: 223.7 kB / 0.8655 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/0.5821, allocations: 1.652 MB / 0.8671 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/0.583, allocations: 131.1 kB / 0.8673 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.5831, allocations: 51.95 kB / 0.8673 GB, free: 15.67 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0004862/0.5836, allocations: 349.4 kB / 0.8676 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.5838, allocations: 114.6 kB / 0.8678 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003271/0.5871, allocations: 1.532 MB / 0.8693 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.5872, allocations: 16 kB / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5872, allocations: 4 kB / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.5872, allocations: 3.984 kB / 0.8693 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.5886, allocations: 1.372 MB / 0.8706 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5886, allocations: 0 / 0.8706 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008436/0.5895, allocations: 195.7 kB / 0.8708 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5899, allocations: 76.78 kB / 0.8709 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.59, allocations: 35.97 kB / 0.8709 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.5919, allocations: 1.67 MB / 0.8725 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5919, allocations: 8 kB / 0.8725 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.5945, allocations: 1.277 MB / 0.8738 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/0.595, allocations: 363.1 kB / 0.8741 GB, free: 8.406 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.5952, allocations: 31.92 kB / 0.8742 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/0.596, allocations: 86.11 kB / 0.8743 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.5962, allocations: 101.2 kB / 0.8743 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/0.5964, allocations: 43.97 kB / 0.8744 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007741/0.5971, allocations: 0.6213 MB / 0.875 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5971, allocations: 0 / 0.875 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009604/0.5981, allocations: 446.4 kB / 0.8754 GB, free: 7.082 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001329/0.5994, allocations: 0.6164 MB / 0.876 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002183/0.6016, allocations: 1.146 MB / 0.8771 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6017, allocations: 0 / 0.8771 GB, free: 5.484 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.6028, allocations: 0.6897 MB / 0.8778 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.604, allocations: 320.4 kB / 0.8781 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.6087, allocations: 2.562 MB / 0.8806 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007372/0.6094, allocations: 1.223 MB / 0.8818 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008834/0.6103, allocations: 317 kB / 0.8821 GB, free: 340 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/0.6107, allocations: 147.3 kB / 0.8823 GB, free: 192 kB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.6107, allocations: 0 / 0.8823 GB, free: 192 kB / 0.6387 GB Notification: Performance of Templates: time 0.02981/0.6405, allocations: 19.51 MB / 0.9013 GB, free: 12.91 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)