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.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.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.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 292.6 MB / 307.6 MB, free: 5.184 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.001093/0.001093, allocations: 184.3 kB / 377.1 MB, free: 1.504 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.692/1.692, allocations: 205.4 MB / 0.6367 GB, free: 8.621 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.0009123/0.0009121, allocations: 97.59 kB / 0.751 GB, free: 62.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003556, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7/1.013, allocations: 141 MB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.013, allocations: 82.67 kB / 1.126 GB, free: 34.02 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.008309/1.021, allocations: 2.99 MB / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.021, allocations: 0 / 1.129 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.021, allocations: 0 / 1.129 GB, free: 31.87 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.0004553/1.022, allocations: 428.5 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.022, allocations: 16.02 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/1.022, allocations: 10.95 kB / 1.129 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.376e-05/1.022, allocations: 178.4 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/1.022, allocations: 0.5 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/1.022, allocations: 7.438 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/1.022, allocations: 71.66 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.022, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.022, allocations: 4 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.022, allocations: 3.141 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/1.022, allocations: 46.83 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/1.023, allocations: 316.5 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/1.023, allocations: 58.45 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/1.023, allocations: 80 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/1.023, allocations: 79.09 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/1.023, allocations: 3.938 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003713/1.024, allocations: 151 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.024, allocations: 51.41 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/1.024, allocations: 112.6 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/1.024, allocations: 30.27 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/1.024, allocations: 96.23 kB / 1.131 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/1.024, allocations: 19.36 kB / 1.131 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/1.024, allocations: 4 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.124e-05/1.024, allocations: 322.8 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/1.024, allocations: 26.8 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.944e-05/1.024, allocations: 47.39 kB / 1.131 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/1.024, allocations: 48.28 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.024, allocations: 0 / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002073/1.024, allocations: 111.4 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.024, allocations: 8.062 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.024, allocations: 4.859 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.024, allocations: 0 / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/1.024, allocations: 11.83 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.025, allocations: 4 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/1.025, allocations: 12.47 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.025, allocations: 4 kB / 1.131 GB, free: 29.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 7.277e-05/1.025, allocations: 129 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/1.025, allocations: 4.625 kB / 1.131 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/1.025, allocations: 8.375 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/1.025, allocations: 0 / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.025, allocations: 0.9375 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.025, allocations: 4 kB / 1.131 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/1.025, allocations: 386.1 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.025, allocations: 0.5625 kB / 1.132 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/1.025, allocations: 15.5 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.025, allocations: 0 / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/1.025, allocations: 4.562 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.025, allocations: 0.625 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/1.025, allocations: 0 / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/1.025, allocations: 214.2 kB / 1.132 GB, free: 28.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/1.026, allocations: 89.36 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/1.026, allocations: 4.75 kB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/1.026, allocations: 4 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/1.026, allocations: 7.422 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.026, allocations: 4 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.758e-05/1.026, allocations: 91.34 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.5e-07/1.026, allocations: 4 kB / 1.132 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002954/1.026, allocations: 51.36 kB / 1.132 GB, free: 28.53 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.0003802/1.026, allocations: 182.8 kB / 1.132 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002241/1.027, allocations: 78.8 kB / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.027, allocations: 0 / 1.132 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/1.027, allocations: 42.83 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/1.027, allocations: 4 kB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/1.027, allocations: 214.9 kB / 1.133 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/1.028, allocations: 0.6892 MB / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.382e-05/1.028, allocations: 9.531 kB / 1.133 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/1.028, allocations: 12.47 kB / 1.133 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/1.028, allocations: 0 / 1.133 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.004189/1.032, allocations: 1.523 MB / 1.135 GB, free: 26.49 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)