Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001163/0.001163, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001112/0.001112, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.463/1.463, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.38 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3787, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.003158/0.382, allocations: 1.537 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.3833, allocations: 0.74 MB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.3833, allocations: 0 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.3834, allocations: 3.938 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.3834, allocations: 15.92 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005095/0.3839, allocations: 99.77 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3841, allocations: 75.77 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3842, allocations: 11.98 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.3843, allocations: 35.84 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.3844, allocations: 35.89 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.3844, allocations: 4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3846, allocations: 95.84 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3846, allocations: 19.91 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.3847, allocations: 27.86 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.385, allocations: 135.9 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.385, allocations: 4 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.72e-07/0.385, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.385, allocations: 0 / 1.07 GB, free: 8.082 MB / 0.8262 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.0008384/0.3858, allocations: 413 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3859, allocations: 12.03 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.386, allocations: 12.83 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3861, allocations: 176.2 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3861, allocations: 4.375 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3862, allocations: 8.359 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.3864, allocations: 77.91 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3864, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3864, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3864, allocations: 0 / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.3866, allocations: 39.97 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.3873, allocations: 316.8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.3874, allocations: 50.48 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.02e-05/0.3875, allocations: 36.97 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.3875, allocations: 0 / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3878, allocations: 79.38 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3878, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004392/0.3882, allocations: 137.5 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3883, allocations: 55.41 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3885, allocations: 133.7 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.3885, allocations: 25.7 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3886, allocations: 88.14 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3886, allocations: 19.73 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-05/0.3886, allocations: 25.72 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3888, allocations: 330.7 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-05/0.3889, allocations: 23.98 kB / 1.072 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.389, allocations: 50.55 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3892, allocations: 78.73 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3892, allocations: 3.984 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002767/0.3895, allocations: 113.5 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3895, allocations: 4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3896, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3896, allocations: 7.984 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.3897, allocations: 8 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3897, allocations: 0 / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/0.3898, allocations: 11.98 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.3898, allocations: 4 kB / 1.073 GB, free: 5.535 MB / 0.8262 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 0.000117/0.3899, allocations: 125.8 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.39, allocations: 7.906 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.39, allocations: 8.375 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.39, allocations: 7.984 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.39, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.39, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/0.3905, allocations: 378.4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3906, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3906, allocations: 11.94 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3906, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.3906, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3906, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.3906, allocations: 11.92 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.3909, allocations: 207.4 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.3911, allocations: 89.02 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.3911, allocations: 4 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3912, allocations: 7.984 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3912, allocations: 7.938 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.3912, allocations: 7.984 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.3913, allocations: 95.86 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3913, allocations: 0 / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003037/0.3916, allocations: 36 kB / 1.073 GB, free: 4.449 MB / 0.8262 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.0003454/0.392, allocations: 169.3 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3922, allocations: 72.19 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3922, allocations: 0 / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3923, allocations: 36.08 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.3926, allocations: 12.72 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.393, allocations: 202.9 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.3933, allocations: 0.6887 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.083e-05/0.3934, allocations: 8 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3934, allocations: 7.438 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of SimCode: time 1.773e-06/0.3934, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of Templates: time 0.004448/0.3979, allocations: 1.373 MB / 1.076 GB, free: 1.848 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)