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.743/1.743, allocations: 292.6 MB / 307.5 MB, free: 5.105 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.001115/0.001115, allocations: 177.1 kB / 377.1 MB, free: 1.43 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.625/1.625, allocations: 205.4 MB / 0.6367 GB, free: 8.566 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.0009475/0.0009477, allocations: 87.84 kB / 0.751 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6658/0.9398, allocations: 141 MB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.9401, allocations: 85.78 kB / 1.126 GB, free: 34.05 MB / 0.7292 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.008052/0.9481, allocations: 2.989 MB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9482, allocations: 0 / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9482, allocations: 4 kB / 1.129 GB, free: 31.91 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.0004692/0.9487, allocations: 423.8 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.9487, allocations: 8.031 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.9487, allocations: 7.312 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.9488, allocations: 174.9 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.9489, allocations: 7.422 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.9489, allocations: 7.438 kB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.9491, allocations: 67.92 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9491, allocations: 0 / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.9492, allocations: 0 / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9492, allocations: 0 / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.9493, allocations: 61.53 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.9498, allocations: 312.5 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.9499, allocations: 59.88 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.9499, allocations: 0 / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.9501, allocations: 79.16 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.9501, allocations: 0 / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003434/0.9504, allocations: 155.3 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.9505, allocations: 51.41 kB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.9506, allocations: 115.8 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.9506, allocations: 25.7 kB / 1.131 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.9506, allocations: 92.23 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.9507, allocations: 15.33 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.9507, allocations: 4.562 kB / 1.131 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.587e-05/0.9508, allocations: 326.4 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.9508, allocations: 31.55 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-05/0.9509, allocations: 49.8 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.951, allocations: 32 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.951, allocations: 3.938 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002005/0.9512, allocations: 121.4 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.9513, allocations: 10.19 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9513, allocations: 0.5 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9513, allocations: 4.062 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.9514, allocations: 15.52 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.9514, allocations: 0 / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.414e-05/0.9515, allocations: 9.25 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.9515, allocations: 8 kB / 1.131 GB, free: 29.61 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 7.339e-05/0.9516, allocations: 126 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.9516, allocations: 4 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.9516, allocations: 12.38 kB / 1.131 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.9516, allocations: 4 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9516, allocations: 0.5 kB / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.9516, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.952, allocations: 384.9 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.952, allocations: 1.656 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.952, allocations: 8 kB / 1.132 GB, free: 29.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9521, allocations: 4 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.9521, allocations: 3.422 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9521, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9521, allocations: 0 / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.9523, allocations: 222.4 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.044e-05/0.9523, allocations: 84.95 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.9523, allocations: 4 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.9524, allocations: 7.984 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.9525, allocations: 6.203 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.9525, allocations: 7.469 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.9525, allocations: 94.73 kB / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9525, allocations: 0 / 1.132 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002634/0.9528, allocations: 43.94 kB / 1.132 GB, free: 28.59 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.0002809/0.9531, allocations: 180.3 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.9533, allocations: 82.22 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.9533, allocations: 0 / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/0.9534, allocations: 36.12 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.9536, allocations: 7.375 kB / 1.132 GB, free: 28.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.9539, allocations: 213.1 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.099e-05/0.954, allocations: 0.6915 MB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.954, allocations: 9.75 kB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.9541, allocations: 11.44 kB / 1.133 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9541, allocations: 0 / 1.133 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.003298/0.9574, allocations: 1.517 MB / 1.135 GB, free: 26.55 MB / 0.7292 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)