Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.615/2.615, allocations: 287.5 MB / 302.4 MB, free: 8.324 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.001354/0.001354, allocations: 182 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.001494/0.001494, allocations: 88.97 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.000484, allocations: 11.47 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002584/0.2255, allocations: 1.179 MB / 0.9795 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.2278, allocations: 0.7112 MB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.2279, allocations: 0 / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.2279, allocations: 7.938 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.2281, allocations: 15.91 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007968/0.2289, allocations: 91.78 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.2291, allocations: 67.7 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2293, allocations: 15.98 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.2294, allocations: 23.92 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2296, allocations: 43.83 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.2296, allocations: 4 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.23, allocations: 83.84 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.23, allocations: 11.98 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.2301, allocations: 37.64 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002818/0.2304, allocations: 104 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2304, allocations: 0 / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.845e-06/0.2304, allocations: 0 / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.2305, allocations: 0 / 0.9807 GB, free: 25.97 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.000886/0.2314, allocations: 408.8 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2314, allocations: 15.95 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.83e-05/0.2315, allocations: 11.86 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2317, allocations: 167 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.2317, allocations: 11.97 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.2318, allocations: 8 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.2322, allocations: 65.66 kB / 0.9813 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2322, allocations: 4 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.2322, allocations: 0 / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2323, allocations: 0 / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.2326, allocations: 47.91 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.2338, allocations: 324.7 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.2341, allocations: 46.56 kB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.2344, allocations: 36.97 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.2344, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003659/0.2348, allocations: 87.31 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.2348, allocations: 0 / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009089/0.2358, allocations: 149.6 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.2358, allocations: 59.47 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.236, allocations: 121.8 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.236, allocations: 25.7 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.2361, allocations: 96.31 kB / 0.9823 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.2362, allocations: 15.75 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.2362, allocations: 4 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.2363, allocations: 314.8 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.2365, allocations: 39.92 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2368, allocations: 50.5 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.2371, allocations: 27.98 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2371, allocations: 8 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005946/0.2377, allocations: 117.5 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.2378, allocations: 7.938 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2378, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.2378, allocations: 4 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.2381, allocations: 15.94 kB / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.2381, allocations: 64 / 0.9829 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2383, allocations: 16 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2383, allocations: 7.922 kB / 0.9829 GB, free: 23.46 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 0.0001244/0.2384, allocations: 117.8 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.2385, allocations: 3.906 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/0.2385, allocations: 12.38 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.83e-06/0.2386, allocations: 0 / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.2386, allocations: 3.953 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2386, allocations: 4 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008101/0.2394, allocations: 386.4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2394, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.231e-05/0.2396, allocations: 7.984 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.2396, allocations: 0 / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.2396, allocations: 11.95 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.2396, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.2396, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005446/0.2402, allocations: 211.9 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.2403, allocations: 85.02 kB / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/0.2403, allocations: 0 / 0.9837 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.2405, allocations: 19.94 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.2406, allocations: 7.938 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.2406, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.001e-05/0.2407, allocations: 95.92 kB / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2407, allocations: 0 / 0.9838 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005658/0.2413, allocations: 43.92 kB / 0.9839 GB, free: 22.37 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.0005025/0.2418, allocations: 166.2 kB / 0.984 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.2423, allocations: 71.91 kB / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2424, allocations: 0 / 0.9841 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.2426, allocations: 44.09 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.2431, allocations: 8 kB / 0.9842 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.2437, allocations: 207.8 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2439, allocations: 0.6926 MB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.7e-05/0.244, allocations: 4.188 kB / 0.985 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.2441, allocations: 7.438 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.112e-06/0.2441, allocations: 4 kB / 0.985 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.006789/0.2509, allocations: 1.345 MB / 0.9864 GB, free: 19.8 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)