Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001027/0.001027, allocations: 184.8 kB / 361.4 MB, free: 6.848 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.92/1.92, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009023/0.0009024, allocations: 92.98 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.693e-05, allocations: 3.984 kB / 0.8517 GB, free: 2.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.756, allocations: 115.3 MB / 0.9643 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.9503, allocations: 139.3 MB / 1.1 GB, free: 0.582 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.9506, allocations: 83.94 kB / 1.1 GB, free: 0.5 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 FrontEnd - DAE generated: time 0.009191/0.9598, allocations: 2.964 MB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9598, allocations: 0.9688 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.9598, allocations: 4 kB / 1.103 GB, free: 13.58 MB / 0.7136 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.0005966/0.9604, allocations: 413.7 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.9605, allocations: 15.03 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.9606, allocations: 5.438 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.9607, allocations: 167 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.9608, allocations: 4.594 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.9608, allocations: 4.625 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/0.9609, allocations: 23.98 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.961, allocations: 54.3 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9611, allocations: 0.8438 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.9611, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.9611, allocations: 4.719 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.9617, allocations: 295.8 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.81e-05/0.9618, allocations: 39.11 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.69e-05/0.9619, allocations: 21.86 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.9619, allocations: 5.906 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.9621, allocations: 67.3 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.9621, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002944/0.9624, allocations: 101.1 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.9624, allocations: 55.47 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9625, allocations: 114.2 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.9626, allocations: 29.64 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.9627, allocations: 92.31 kB / 1.105 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.9627, allocations: 15.75 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.9627, allocations: 0 / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9628, allocations: 322.8 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.347e-05/0.9629, allocations: 20.5 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.9629, allocations: 39.81 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.276e-05/0.963, allocations: 23.98 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.963, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001778/0.9632, allocations: 93.52 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9633, allocations: 5.25 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.9633, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.9633, allocations: 7.984 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.982e-05/0.9634, allocations: 17.05 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.9634, allocations: 0 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.9635, allocations: 8 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.9635, allocations: 3.203 kB / 1.105 GB, free: 11.36 MB / 0.7136 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 9.473e-05/0.9636, allocations: 117 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.127e-05/0.9636, allocations: 11.89 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.9637, allocations: 4.625 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.9637, allocations: 4 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9637, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9637, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.9641, allocations: 339 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.9641, allocations: 9.734 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.9641, allocations: 6.625 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.9642, allocations: 0 / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.9642, allocations: 4 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.9642, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9642, allocations: 0 / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.9645, allocations: 195.4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.9645, allocations: 84.98 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.9646, allocations: 8 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.9647, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.9647, allocations: 3.984 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9647, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.488e-05/0.9648, allocations: 91.27 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9648, allocations: 0 / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003268/0.9651, allocations: 47.94 kB / 1.106 GB, free: 10.36 MB / 0.7136 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.0005063/0.9657, allocations: 179.9 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.9658, allocations: 55.92 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9658, allocations: 0 / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.9659, allocations: 24 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.9662, allocations: 13.72 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.9665, allocations: 104.7 kB / 1.107 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.9669, allocations: 0.6931 MB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.126e-05/0.967, allocations: 4.188 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.967, allocations: 7.438 kB / 1.107 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.967, allocations: 3.938 kB / 1.107 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.004804/0.9719, allocations: 1.503 MB / 1.109 GB, free: 7.789 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)