Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 293 MB / 309 MB, free: 4.809 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.001085/0.001086, allocations: 172.2 kB / 378.7 MB, free: 1.039 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.488/1.488, allocations: 205.4 MB / 0.6383 GB, free: 8.125 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.0007313/0.0007313, allocations: 93.95 kB / 0.7527 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6502/0.8836, allocations: 141.1 MB / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.8839, allocations: 87.05 kB / 1.128 GB, free: 33.11 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.008253/0.8922, allocations: 3.002 MB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.395e-06/0.8922, allocations: 3.125 kB / 1.131 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.8922, allocations: 4 kB / 1.131 GB, free: 30.95 MB / 0.7292 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.0004716/0.8927, allocations: 417.3 kB / 1.132 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.8928, allocations: 15.97 kB / 1.132 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.8928, allocations: 4.938 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.939e-05/0.8929, allocations: 172.2 kB / 1.132 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.893, allocations: 8.375 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.893, allocations: 4.875 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.8932, allocations: 77.56 kB / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.8932, allocations: 192 / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.8932, allocations: 8.781 kB / 1.132 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.8932, allocations: 0 / 1.132 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.8934, allocations: 42.84 kB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/0.894, allocations: 328.7 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.8941, allocations: 53.98 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.8942, allocations: 32.41 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.8942, allocations: 0 / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001655/0.8944, allocations: 77.25 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.8944, allocations: 9.125 kB / 1.132 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003648/0.8948, allocations: 151 kB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.8948, allocations: 55.97 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.8949, allocations: 117.7 kB / 1.133 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.8949, allocations: 33.7 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.895, allocations: 88.14 kB / 1.133 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.895, allocations: 19.14 kB / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.895, allocations: 0 / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.8951, allocations: 323.4 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.8951, allocations: 30.66 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.8952, allocations: 57.45 kB / 1.133 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.8954, allocations: 74.84 kB / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8954, allocations: 0 / 1.133 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002126/0.8956, allocations: 124.2 kB / 1.133 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8956, allocations: 8 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8956, allocations: 1.375 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.8957, allocations: 0 / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.8958, allocations: 19.27 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8958, allocations: 4 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.8959, allocations: 8.062 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.8959, allocations: 8.125 kB / 1.133 GB, free: 28.55 MB / 0.7292 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 6.974e-05/0.896, allocations: 121.8 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.896, allocations: 7.906 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.896, allocations: 8.938 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.896, allocations: 0 / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.896, allocations: 4 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.896, allocations: 4.969 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.8964, allocations: 390.5 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8964, allocations: 1.188 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.8965, allocations: 4.562 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8965, allocations: 0 / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.8965, allocations: 7.469 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8965, allocations: 0 / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.8965, allocations: 0 / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.8968, allocations: 222 kB / 1.134 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.18e-05/0.8968, allocations: 85.52 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8968, allocations: 8 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.8969, allocations: 7.875 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.897, allocations: 7.938 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.897, allocations: 7.516 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.897, allocations: 96.03 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.897, allocations: 1.125 kB / 1.134 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003027/0.8973, allocations: 44 kB / 1.134 GB, free: 27.51 MB / 0.7292 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.0003503/0.8977, allocations: 182.2 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.8979, allocations: 77.92 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8979, allocations: 0 / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.898, allocations: 35.42 kB / 1.135 GB, free: 27.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.8983, allocations: 11.59 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/0.8987, allocations: 213.6 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.8988, allocations: 0.6838 MB / 1.136 GB, free: 26.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.124e-05/0.8989, allocations: 9.25 kB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.8989, allocations: 11.44 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.8989, allocations: 0 / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.004295/0.9032, allocations: 1.511 MB / 1.137 GB, free: 25.48 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)