Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.00109/0.00109, allocations: 184.9 kB / 366.7 MB, free: 1.637 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.322/1.322, allocations: 205.3 MB / 0.626 GB, free: 7.164 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.0008858/0.000886, allocations: 89.77 kB / 0.7401 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.59e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.642/0.6421, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.8248, allocations: 140.2 MB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.8251, allocations: 80.77 kB / 1.11 GB, free: 9.887 MB / 0.7136 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.008687/0.8338, allocations: 2.959 MB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8338, allocations: 1.406 kB / 1.113 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.8338, allocations: 4 kB / 1.113 GB, free: 6.945 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.0006857/0.8345, allocations: 409.3 kB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.8346, allocations: 12.03 kB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.8346, allocations: 8.406 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.8348, allocations: 171.5 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.8349, allocations: 4 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.8349, allocations: 9.047 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.797e-05/0.835, allocations: 20 kB / 1.114 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.8352, allocations: 56.89 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8352, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.8352, allocations: 0 / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8352, allocations: 4 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/0.8359, allocations: 296.8 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.726e-05/0.836, allocations: 42.58 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.8361, allocations: 28.34 kB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.8361, allocations: 4 kB / 1.114 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.8363, allocations: 71.7 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.8363, allocations: 0 / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003192/0.8366, allocations: 93.61 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.8367, allocations: 51.48 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.8368, allocations: 119.5 kB / 1.115 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.8368, allocations: 26.58 kB / 1.115 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.8369, allocations: 92.31 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.8369, allocations: 22.06 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.837, allocations: 0 / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8371, allocations: 322.8 kB / 1.115 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.252e-05/0.8371, allocations: 16 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.8372, allocations: 45.22 kB / 1.115 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.8373, allocations: 16 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8373, allocations: 0 / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001811/0.8375, allocations: 93.52 kB / 1.115 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8375, allocations: 7.469 kB / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.8375, allocations: 0 / 1.115 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8375, allocations: 4 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.8377, allocations: 14.05 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8377, allocations: 3.938 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.8377, allocations: 8 kB / 1.115 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.8378, allocations: 3.984 kB / 1.115 GB, free: 4.727 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 7.665e-05/0.8379, allocations: 113 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.8379, allocations: 7.906 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.8379, allocations: 8.625 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.8379, allocations: 4 kB / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8379, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.8379, allocations: 0 / 1.115 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.8383, allocations: 341.4 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8383, allocations: 0 / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.8383, allocations: 8 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.8383, allocations: 3.984 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.8384, allocations: 7.984 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8384, allocations: 0 / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8384, allocations: 0.6562 kB / 1.116 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.8386, allocations: 195.3 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.8386, allocations: 84.11 kB / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.8386, allocations: 0 / 1.116 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.8387, allocations: 11.98 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.8388, allocations: 4 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.8388, allocations: 11.92 kB / 1.116 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.8388, allocations: 89.16 kB / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8389, allocations: 0 / 1.116 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002784/0.8391, allocations: 43.92 kB / 1.116 GB, free: 3.738 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.0003838/0.8395, allocations: 167.8 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.8397, allocations: 51.92 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.8397, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.8398, allocations: 27.98 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.8399, allocations: 15.89 kB / 1.116 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.8402, allocations: 104.6 kB / 1.116 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.8405, allocations: 0.6892 MB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.8405, allocations: 5.438 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.8406, allocations: 11.42 kB / 1.117 GB, free: 2.633 MB / 0.7136 GB Notification: Performance of SimCode: time 1.703e-06/0.8406, allocations: 4 kB / 1.117 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.003612/0.8442, allocations: 1.509 MB / 1.119 GB, free: 1.16 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)