Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001431/0.001431, allocations: 98.27 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.01006/0.01006, allocations: 169.6 kB / 16.27 MB, free: 6.355 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005755/0.0005756, allocations: 8.594 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4268, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001811/0.4286, allocations: 1.196 MB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.43, allocations: 0.7285 MB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.43, allocations: 0 / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.655e-05/0.4301, allocations: 3.938 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.4301, allocations: 15.86 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.4306, allocations: 99.77 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.4307, allocations: 67.84 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.4309, allocations: 19.97 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.4309, allocations: 31.91 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.431, allocations: 31.78 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.431, allocations: 7.938 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.4312, allocations: 91.91 kB / 1.076 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.4313, allocations: 15.91 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.4313, allocations: 57.56 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.4316, allocations: 135.9 kB / 1.077 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4316, allocations: 7.938 kB / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4316, allocations: 0 / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4316, allocations: 0 / 1.077 GB, free: 5.047 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.0006038/0.4322, allocations: 405 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4323, allocations: 12.03 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.4323, allocations: 8.844 kB / 1.077 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4324, allocations: 164.3 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.4325, allocations: 12.36 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.4325, allocations: 4.375 kB / 1.077 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.4327, allocations: 77.95 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4327, allocations: 0 / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4327, allocations: 4 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4327, allocations: 0 / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.4329, allocations: 47.91 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000616/0.4335, allocations: 320.7 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.4337, allocations: 54.5 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.063e-05/0.4338, allocations: 32.97 kB / 1.078 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.4338, allocations: 7.984 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.434, allocations: 83.31 kB / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.434, allocations: 0 / 1.078 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004015/0.4344, allocations: 153.6 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4345, allocations: 55.41 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.251e-05/0.4346, allocations: 121.8 kB / 1.078 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.4346, allocations: 25.7 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.4347, allocations: 96.12 kB / 1.078 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.4347, allocations: 15.75 kB / 1.078 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.4347, allocations: 21.7 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4349, allocations: 322.8 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.443e-05/0.4349, allocations: 23.98 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4351, allocations: 58.48 kB / 1.079 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.4352, allocations: 82.55 kB / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4352, allocations: 0 / 1.079 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.4355, allocations: 125.8 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4355, allocations: 4 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.4355, allocations: 7.984 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4355, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.4356, allocations: 15.94 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4357, allocations: 7.938 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.925e-05/0.4357, allocations: 11.89 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.4358, allocations: 8.062 kB / 1.079 GB, free: 2.457 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 8.863e-05/0.4359, allocations: 117.8 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.4359, allocations: 7.938 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.4359, allocations: 12.36 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4359, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4359, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4359, allocations: 4 kB / 1.079 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4364, allocations: 394.3 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4364, allocations: 0 / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.4365, allocations: 4 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4365, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4365, allocations: 4 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4365, allocations: 3.984 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4365, allocations: 3.938 kB / 1.079 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.4368, allocations: 215.4 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4368, allocations: 81.02 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.4369, allocations: 8 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.112e-05/0.437, allocations: 7.984 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.437, allocations: 3.938 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.437, allocations: 11.98 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.4371, allocations: 91.27 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4371, allocations: 0 / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002838/0.4374, allocations: 36 kB / 1.08 GB, free: 1.371 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.0003515/0.4377, allocations: 162.4 kB / 1.08 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002403/0.438, allocations: 79.89 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.438, allocations: 0 / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4381, allocations: 39.98 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.4384, allocations: 10.38 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.4388, allocations: 219.1 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4391, allocations: 0.6887 MB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.4391, allocations: 8 kB / 1.081 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.4391, allocations: 19.42 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4392, allocations: 0 / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of Templates: time 0.004054/0.4432, allocations: 1.351 MB / 1.082 GB, free: 14.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)