Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001677/0.001677, allocations: 193 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 251.6 MB / 0.5089 GB, free: 3.234 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 64.22 kB / 0.6217 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5374/0.5388, allocations: 104.7 MB / 0.724 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002684/0.5416, allocations: 1.538 MB / 0.7255 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.5428, allocations: 0.7679 MB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.386e-05/0.5429, allocations: 0 / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.605e-05/0.543, allocations: 11.92 kB / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.543, allocations: 7.922 kB / 0.7263 GB, free: 10.86 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.5436, allocations: 111.8 kB / 0.7264 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.5437, allocations: 83.7 kB / 0.7264 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.5438, allocations: 8 kB / 0.7264 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.839e-05/0.5439, allocations: 35.91 kB / 0.7265 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.209e-05/0.544, allocations: 39.83 kB / 0.7265 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.544, allocations: 8 kB / 0.7265 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.5442, allocations: 99.84 kB / 0.7266 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.5442, allocations: 19.97 kB / 0.7266 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.5443, allocations: 31.8 kB / 0.7267 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.5445, allocations: 137.6 kB / 0.7268 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5445, allocations: 0 / 0.7268 GB, free: 10.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5446, allocations: 0 / 0.7268 GB, free: 10.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.5446, allocations: 4 kB / 0.7268 GB, free: 10.3 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007478/0.5453, allocations: 424.8 kB / 0.7272 GB, free: 9.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.5454, allocations: 12.03 kB / 0.7272 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.5454, allocations: 8.844 kB / 0.7272 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.5456, allocations: 172.3 kB / 0.7274 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.5456, allocations: 384 / 0.7274 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.5456, allocations: 4.375 kB / 0.7274 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.5458, allocations: 81.89 kB / 0.7275 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.5458, allocations: 0 / 0.7275 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.5459, allocations: 3.984 kB / 0.7275 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5459, allocations: 0 / 0.7275 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.546, allocations: 35.98 kB / 0.7275 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.5466, allocations: 320.7 kB / 0.7278 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5468, allocations: 46.5 kB / 0.7279 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.5469, allocations: 36.97 kB / 0.7279 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.5469, allocations: 0 / 0.7279 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.5471, allocations: 79.38 kB / 0.728 GB, free: 8.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.5471, allocations: 0 / 0.728 GB, free: 8.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003838/0.5475, allocations: 133.6 kB / 0.7281 GB, free: 8.789 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.5476, allocations: 67.28 kB / 0.7282 GB, free: 8.711 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.5477, allocations: 129.8 kB / 0.7283 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.5477, allocations: 25.7 kB / 0.7283 GB, free: 8.543 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.5478, allocations: 88.14 kB / 0.7284 GB, free: 8.453 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.5478, allocations: 23.67 kB / 0.7284 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.5479, allocations: 29.7 kB / 0.7285 GB, free: 8.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.548, allocations: 322.8 kB / 0.7288 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.5481, allocations: 27.98 kB / 0.7288 GB, free: 8.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.5482, allocations: 50.55 kB / 0.7288 GB, free: 7.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5483, allocations: 74.48 kB / 0.7289 GB, free: 7.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5483, allocations: 0 / 0.7289 GB, free: 7.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.5486, allocations: 117.5 kB / 0.729 GB, free: 7.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5486, allocations: 10.02 kB / 0.729 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5486, allocations: 0 / 0.729 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5486, allocations: 4 kB / 0.729 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/0.5487, allocations: 8 kB / 0.729 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.5487, allocations: 0 / 0.729 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.5488, allocations: 15.89 kB / 0.7291 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5488, allocations: 4 kB / 0.7291 GB, free: 7.742 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.5489, allocations: 125.8 kB / 0.7292 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.5489, allocations: 4 kB / 0.7292 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.549, allocations: 12.36 kB / 0.7292 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.549, allocations: 0 / 0.7292 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.549, allocations: 4 kB / 0.7292 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.549, allocations: 0 / 0.7292 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.5494, allocations: 378.7 kB / 0.7296 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5495, allocations: 4 kB / 0.7296 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.5495, allocations: 7.938 kB / 0.7296 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5495, allocations: 0 / 0.7296 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.5495, allocations: 7.984 kB / 0.7296 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5495, allocations: 80 / 0.7296 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5495, allocations: 7.922 kB / 0.7296 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5498, allocations: 203.5 kB / 0.7298 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.5499, allocations: 85.02 kB / 0.7299 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.5499, allocations: 7.984 kB / 0.7299 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.459e-05/0.55, allocations: 4 kB / 0.7299 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.55, allocations: 7.938 kB / 0.7299 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5501, allocations: 7.984 kB / 0.7299 GB, free: 6.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.714e-05/0.5501, allocations: 91.27 kB / 0.73 GB, free: 6.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5501, allocations: 0 / 0.73 GB, free: 6.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002877/0.5504, allocations: 39.94 kB / 0.73 GB, free: 6.664 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003446/0.5508, allocations: 172.4 kB / 0.7302 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.551, allocations: 71.89 kB / 0.7302 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.551, allocations: 0 / 0.7302 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.5511, allocations: 35.98 kB / 0.7303 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5514, allocations: 12.11 kB / 0.7303 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.5519, allocations: 208.8 kB / 0.7305 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.5522, allocations: 0.6923 MB / 0.7312 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.5522, allocations: 8 kB / 0.7312 GB, free: 5.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.5523, allocations: 7.438 kB / 0.7312 GB, free: 5.418 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5523, allocations: 7.938 kB / 0.7312 GB, free: 5.41 MB / 0.545 GB Notification: Performance of Templates: time 0.004415/0.5567, allocations: 1.405 MB / 0.7326 GB, free: 4.02 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)