Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 180.6 kB / 371.6 MB, free: 3.402 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009002, allocations: 92.67 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.769e-05, allocations: 8 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9013/1.173, allocations: 140.9 MB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.173, allocations: 83.75 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 FrontEnd - DAE generated: time 0.008741/1.182, allocations: 2.965 MB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.175e-06/1.182, allocations: 0 / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.227e-06/1.182, allocations: 3.188 kB / 1.12 GB, free: 41.44 MB / 0.7448 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.0004751/1.183, allocations: 411.6 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.183, allocations: 8.031 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/1.183, allocations: 13.09 kB / 1.121 GB, free: 40.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/1.183, allocations: 169.9 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.183, allocations: 6.516 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/1.183, allocations: 7.469 kB / 1.121 GB, free: 40.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.183, allocations: 59.25 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/1.183, allocations: 0.7188 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/1.183, allocations: 0 / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/1.183, allocations: 8.812 kB / 1.121 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.658e-05/1.183, allocations: 21.62 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/1.184, allocations: 322.8 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.711e-05/1.184, allocations: 44.45 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/1.184, allocations: 26.78 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/1.184, allocations: 0 / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/1.184, allocations: 70.8 kB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.184, allocations: 3.938 kB / 1.121 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002419/1.184, allocations: 95.72 kB / 1.122 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/1.184, allocations: 58.53 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/1.184, allocations: 115.9 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/1.184, allocations: 33.64 kB / 1.122 GB, free: 39.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.195e-05/1.185, allocations: 95.3 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/1.185, allocations: 22.84 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/1.185, allocations: 0 / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/1.185, allocations: 314.9 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.101e-05/1.185, allocations: 19 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/1.185, allocations: 42.14 kB / 1.122 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.96e-05/1.185, allocations: 30.78 kB / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.185, allocations: 0 / 1.122 GB, free: 39.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001871/1.185, allocations: 98.28 kB / 1.122 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.185, allocations: 4 kB / 1.122 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.185, allocations: 1.531 kB / 1.122 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.185, allocations: 0 / 1.122 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/1.185, allocations: 15.42 kB / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/1.185, allocations: 4.062 kB / 1.122 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.787e-05/1.185, allocations: 7.906 kB / 1.122 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/1.185, allocations: 15.17 kB / 1.122 GB, free: 39.38 MB / 0.7448 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/1.185, allocations: 108.9 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/1.185, allocations: 11.84 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.142e-05/1.186, allocations: 6.219 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.186, allocations: 1.125 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.186, allocations: 4 kB / 1.123 GB, free: 39.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.186, allocations: 7.469 kB / 1.123 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/1.186, allocations: 362 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.186, allocations: 0 / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/1.186, allocations: 7.328 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/1.186, allocations: 0 / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.186, allocations: 4 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/1.186, allocations: 4.75 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.186, allocations: 3.328 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.186, allocations: 207 kB / 1.123 GB, free: 38.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/1.186, allocations: 80.53 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/1.186, allocations: 3.844 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/1.186, allocations: 4 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/1.186, allocations: 7.922 kB / 1.123 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/1.186, allocations: 4 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.964e-05/1.186, allocations: 99.05 kB / 1.123 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 4 kB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000295/1.187, allocations: 46.31 kB / 1.123 GB, free: 38.46 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004179/1.187, allocations: 170.8 kB / 1.124 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001523/1.187, allocations: 56 kB / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.187, allocations: 128 / 1.124 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/1.187, allocations: 31.12 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/1.188, allocations: 12.78 kB / 1.124 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.188, allocations: 93.56 kB / 1.124 GB, free: 38.15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/1.188, allocations: 0.6923 MB / 1.124 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.922e-05/1.188, allocations: 6.156 kB / 1.124 GB, free: 37.44 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/1.188, allocations: 19.25 kB / 1.124 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/1.188, allocations: 4 kB / 1.124 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.00432/1.192, allocations: 1.543 MB / 1.126 GB, free: 36.58 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)