Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.706/1.706, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001174, allocations: 184.2 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 102.5 kB / 0.7808 GB, free: 43.65 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 16 kB / 0.9088 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.633/0.6334, allocations: 120.3 MB / 1.026 GB, free: 56.54 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.8604, allocations: 143.2 MB / 1.166 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.8607, allocations: 84.73 kB / 1.166 GB, free: 14.93 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.009035/0.8698, allocations: 3.048 MB / 1.169 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8698, allocations: 0 / 1.169 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8698, allocations: 0 / 1.169 GB, free: 11.93 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.0005128/0.8704, allocations: 417.7 kB / 1.17 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8704, allocations: 14.78 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.8704, allocations: 4.844 kB / 1.17 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8706, allocations: 173.9 kB / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.8706, allocations: 8.359 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.8706, allocations: 4.375 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.8708, allocations: 78.2 kB / 1.17 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8708, allocations: 192 / 1.17 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.8709, allocations: 7.875 kB / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8709, allocations: 4 kB / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.871, allocations: 43.91 kB / 1.17 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.8716, allocations: 316.8 kB / 1.17 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.8717, allocations: 51.48 kB / 1.17 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.8718, allocations: 36.97 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.8718, allocations: 4 kB / 1.17 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.872, allocations: 83.31 kB / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.872, allocations: 0 / 1.17 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004077/0.8724, allocations: 149.7 kB / 1.171 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.8725, allocations: 51.41 kB / 1.171 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.8726, allocations: 129.7 kB / 1.171 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.8726, allocations: 25.7 kB / 1.171 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.8727, allocations: 92.12 kB / 1.171 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.8727, allocations: 15.81 kB / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.8727, allocations: 0 / 1.171 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8728, allocations: 326.8 kB / 1.171 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.8729, allocations: 35.92 kB / 1.171 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.552e-05/0.873, allocations: 47.44 kB / 1.171 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.8732, allocations: 78.86 kB / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8732, allocations: 0 / 1.171 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002317/0.8734, allocations: 125.5 kB / 1.171 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8734, allocations: 4 kB / 1.171 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.8735, allocations: 4.062 kB / 1.171 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.8735, allocations: 4 kB / 1.171 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.393e-05/0.8736, allocations: 15.92 kB / 1.171 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.8736, allocations: 0 / 1.171 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/0.8737, allocations: 8 kB / 1.171 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.8737, allocations: 4 kB / 1.171 GB, free: 9.375 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.8738, allocations: 133 kB / 1.172 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.8738, allocations: 11.91 kB / 1.172 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.8738, allocations: 4.375 kB / 1.172 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8739, allocations: 0 / 1.172 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.8739, allocations: 0 / 1.172 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.8739, allocations: 0 / 1.172 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.8743, allocations: 390.4 kB / 1.172 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.8743, allocations: 4 kB / 1.172 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.8744, allocations: 7.984 kB / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8744, allocations: 0 / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.8744, allocations: 0 / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8744, allocations: 7.938 kB / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.8744, allocations: 0 / 1.172 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.8747, allocations: 228.4 kB / 1.172 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.8747, allocations: 85.02 kB / 1.172 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8748, allocations: 4 kB / 1.172 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.8748, allocations: 4 kB / 1.172 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.8749, allocations: 11.92 kB / 1.172 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.8749, allocations: 0 / 1.172 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.206e-05/0.875, allocations: 100.5 kB / 1.172 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.875, allocations: 0 / 1.172 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003055/0.8753, allocations: 51.98 kB / 1.172 GB, free: 8.258 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 () * 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 (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.0003495/0.8756, allocations: 162.9 kB / 1.173 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.8759, allocations: 79.95 kB / 1.173 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8759, allocations: 0 / 1.173 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.876, allocations: 39.92 kB / 1.173 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.8763, allocations: 4 kB / 1.173 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.8767, allocations: 220.2 kB / 1.173 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.8769, allocations: 0.6901 MB / 1.174 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.877, allocations: 10.66 kB / 1.174 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.877, allocations: 11.44 kB / 1.174 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of SimCode: time 2.01e-07/0.877, allocations: 0 / 1.174 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.003908/0.8809, allocations: 1.505 MB / 1.175 GB, free: 5.535 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)