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.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.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.1-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 293 MB / 309 MB, free: 4.828 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.000926/0.000926, allocations: 168.6 kB / 378.7 MB, free: 1.043 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.55/1.55, allocations: 205.4 MB / 0.6383 GB, free: 8.25 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.0007694/0.0007694, allocations: 101.2 kB / 0.7527 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004251/0.000425, allocations: 12 kB / 0.8768 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6536/0.8951, allocations: 141.1 MB / 1.128 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.8954, allocations: 87.09 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.00746/0.9029, allocations: 2.998 MB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9029, allocations: 0.6562 kB / 1.131 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9029, allocations: 0 / 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.0003899/0.9033, allocations: 435.1 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.9033, allocations: 8.031 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.9034, allocations: 4.938 kB / 1.132 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.9034, allocations: 172.2 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.9035, allocations: 5.969 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.9035, allocations: 8.5 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.9037, allocations: 68.95 kB / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.9037, allocations: 192 / 1.132 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9037, allocations: 7.938 kB / 1.132 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.9037, allocations: 4 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.9038, allocations: 38.89 kB / 1.132 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.9043, allocations: 330 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.9044, allocations: 54.62 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.9045, allocations: 37.02 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.9045, allocations: 0 / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001377/0.9047, allocations: 85.72 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.9047, allocations: 0 / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003283/0.905, allocations: 145.1 kB / 1.133 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.905, allocations: 59.48 kB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.9051, allocations: 121.7 kB / 1.133 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.9051, allocations: 25.7 kB / 1.133 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.9052, allocations: 95.55 kB / 1.133 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.9052, allocations: 15.81 kB / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.9052, allocations: 0 / 1.133 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.9053, allocations: 322.3 kB / 1.133 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.9053, allocations: 39.41 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.9054, allocations: 50.5 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.9056, allocations: 82.12 kB / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9056, allocations: 0 / 1.133 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001969/0.9058, allocations: 117.1 kB / 1.133 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9058, allocations: 4 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9058, allocations: 0.7031 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9058, allocations: 4 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.9059, allocations: 19.38 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.9059, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.102e-05/0.906, allocations: 13.14 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.906, allocations: 0 / 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 5.862e-05/0.9061, allocations: 125.8 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.9061, allocations: 8.422 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.9061, allocations: 7.797 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.9061, allocations: 4 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9061, allocations: 0 / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.9062, allocations: 0.5 kB / 1.134 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.9065, allocations: 392.3 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9065, allocations: 0 / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.9065, allocations: 8.688 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9066, allocations: 4 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.9066, allocations: 0 / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9066, allocations: 4 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9066, allocations: 1.25 kB / 1.134 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.9068, allocations: 220.8 kB / 1.134 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.9069, allocations: 92.95 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.9069, allocations: 3.234 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.907, allocations: 4.562 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.907, allocations: 11.31 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.907, allocations: 3.938 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.53e-05/0.9071, allocations: 99.45 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9071, allocations: 0 / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002645/0.9073, allocations: 47.42 kB / 1.134 GB, free: 27.5 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.0002929/0.9076, allocations: 170.2 kB / 1.135 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.9079, allocations: 75.11 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9079, allocations: 8.125 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.908, allocations: 34.84 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.9082, allocations: 11.92 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.000331/0.9085, allocations: 211.8 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.9087, allocations: 0.6914 MB / 1.136 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.9087, allocations: 8.812 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.9088, allocations: 11.44 kB / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.9088, allocations: 0 / 1.136 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.003741/0.9125, allocations: 1.508 MB / 1.137 GB, free: 25.47 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)