Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.3 MB / 303.2 MB, free: 8.086 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.001357/0.001356, allocations: 187.9 kB / 371.9 MB, free: 10.31 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.895/1.895, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 102.8 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005229/0.000523, allocations: 10.72 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2473, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001602/0.2489, allocations: 1.176 MB / 0.9806 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.25, allocations: 0.7228 MB / 0.9813 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.25, allocations: 4 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.25, allocations: 3.938 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.2501, allocations: 7.984 kB / 0.9813 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.2506, allocations: 91.75 kB / 0.9814 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.2507, allocations: 51.88 kB / 0.9814 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.2508, allocations: 11.98 kB / 0.9814 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/0.2509, allocations: 27.91 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.2509, allocations: 31.91 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.2509, allocations: 4 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.2511, allocations: 75.8 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2511, allocations: 11.98 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.2512, allocations: 37.64 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2513, allocations: 100 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2513, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2513, allocations: 3.938 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2513, allocations: 0 / 0.9817 GB, free: 25.36 MB / 0.6198 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.0005539/0.2519, allocations: 408.8 kB / 0.9821 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2519, allocations: 12.02 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.252, allocations: 7.906 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.133e-05/0.2521, allocations: 178.9 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.2521, allocations: 4 kB / 0.9823 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.2522, allocations: 11.92 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.2523, allocations: 73.66 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.2524, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2524, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2524, allocations: 0 / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2525, allocations: 47.97 kB / 0.9824 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005505/0.2531, allocations: 320.7 kB / 0.9827 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.2532, allocations: 54.5 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2532, allocations: 3.984 kB / 0.9828 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.2534, allocations: 75.5 kB / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2534, allocations: 0 / 0.9829 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003544/0.2538, allocations: 149.6 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.2538, allocations: 67.41 kB / 0.9831 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.2539, allocations: 117.8 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2539, allocations: 29.7 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.254, allocations: 92.31 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.254, allocations: 19.75 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.254, allocations: 4 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.254, allocations: 318.8 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.2541, allocations: 31.98 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.008e-05/0.2542, allocations: 46.56 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.135e-05/0.2543, allocations: 35.98 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2543, allocations: 0 / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000198/0.2545, allocations: 117.8 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2545, allocations: 4 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2546, allocations: 4 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2546, allocations: 8 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.2547, allocations: 15.92 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2547, allocations: 4.062 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.2548, allocations: 11.95 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2548, allocations: 4 kB / 0.9839 GB, free: 22.89 MB / 0.6198 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.813e-05/0.2549, allocations: 123.2 kB / 0.984 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.2549, allocations: 7.906 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.2549, allocations: 8.375 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2549, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.2549, allocations: 3.938 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2549, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.2553, allocations: 394.4 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2553, allocations: 0 / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.2554, allocations: 11.98 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2554, allocations: 0 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2554, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2554, allocations: 4 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2554, allocations: 3.953 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2556, allocations: 227.3 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.2557, allocations: 81.02 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.2557, allocations: 0 / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.2558, allocations: 4 kB / 0.9847 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.2558, allocations: 11.94 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2559, allocations: 4 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.2559, allocations: 95.27 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2559, allocations: 0 / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002836/0.2562, allocations: 35.98 kB / 0.9849 GB, free: 21.8 MB / 0.6198 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.0003637/0.2566, allocations: 173.5 kB / 0.985 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2568, allocations: 79.97 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2568, allocations: 0 / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.2569, allocations: 31.98 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.2571, allocations: 7.984 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.2575, allocations: 215.1 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.2577, allocations: 0.6887 MB / 0.986 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.926e-05/0.2578, allocations: 4.188 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.2578, allocations: 19.42 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.2578, allocations: 0 / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.003705/0.2615, allocations: 1.336 MB / 0.9873 GB, free: 19.24 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)