Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.481/2.481, allocations: 251.3 MB / 266.2 MB, free: 11.47 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001325, allocations: 179.9 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.443/2.443, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009481/0.000948, allocations: 96.5 kB / 0.6812 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007342/0.0007346, allocations: 9.062 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2522, allocations: 106.3 MB / 0.899 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00222/0.2544, allocations: 1.184 MB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.256, allocations: 0.722 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2561, allocations: 3.938 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.2561, allocations: 3.984 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.2562, allocations: 11.86 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.2568, allocations: 99.77 kB / 0.901 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2569, allocations: 67.77 kB / 0.9011 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.518e-05/0.257, allocations: 16 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.287e-05/0.2571, allocations: 27.86 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.2572, allocations: 39.81 kB / 0.9012 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.2572, allocations: 4 kB / 0.9012 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.2574, allocations: 87.84 kB / 0.9012 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2575, allocations: 11.98 kB / 0.9013 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.2575, allocations: 37.64 kB / 0.9013 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.2577, allocations: 99.81 kB / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2577, allocations: 0 / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2577, allocations: 0 / 0.9014 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2578, allocations: 0 / 0.9014 GB, free: 62.93 MB / 0.6042 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.0006372/0.2584, allocations: 409.2 kB / 0.9018 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2584, allocations: 8.031 kB / 0.9018 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.2585, allocations: 8.844 kB / 0.9018 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.22e-05/0.2586, allocations: 176.3 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.2586, allocations: 8.375 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.2587, allocations: 4.375 kB / 0.902 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.2589, allocations: 81.91 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.259, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.259, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.259, allocations: 3.984 kB / 0.9021 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.2592, allocations: 47.92 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.26, allocations: 324.7 kB / 0.9024 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.2602, allocations: 50.56 kB / 0.9025 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.2603, allocations: 40.91 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.2604, allocations: 0 / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.2606, allocations: 75.38 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.2606, allocations: 4 kB / 0.9026 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005674/0.2612, allocations: 149.6 kB / 0.9027 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.2612, allocations: 51.41 kB / 0.9028 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.2613, allocations: 125.8 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2614, allocations: 29.7 kB / 0.9029 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.2614, allocations: 92.14 kB / 0.903 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2615, allocations: 19.8 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.2615, allocations: 0 / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2615, allocations: 318.8 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2617, allocations: 35.97 kB / 0.9034 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2618, allocations: 50.56 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.262, allocations: 27.98 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.262, allocations: 7.938 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003518/0.2624, allocations: 117.6 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2624, allocations: 8 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2624, allocations: 0 / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2625, allocations: 4 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.2626, allocations: 15.92 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2626, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2627, allocations: 15.84 kB / 0.9036 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.2628, allocations: 0 / 0.9036 GB, free: 60.44 MB / 0.6042 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 8.941e-05/0.2629, allocations: 137.7 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.2629, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.2629, allocations: 8.375 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.263, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.263, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.263, allocations: 0 / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.2636, allocations: 398.3 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2636, allocations: 0 / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.2636, allocations: 4 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2637, allocations: 3.984 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2637, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2637, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2637, allocations: 7.938 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2641, allocations: 215.9 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.2641, allocations: 89 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2642, allocations: 0 / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2643, allocations: 4 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2644, allocations: 11.92 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2644, allocations: 4 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.2644, allocations: 95.27 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2645, allocations: 4 kB / 0.9045 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003775/0.2648, allocations: 35.94 kB / 0.9046 GB, free: 59.34 MB / 0.6042 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.000368/0.2652, allocations: 168.4 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.2656, allocations: 79.89 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.2656, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2658, allocations: 39.92 kB / 0.9048 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2661, allocations: 11.98 kB / 0.9049 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.2666, allocations: 219.1 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2667, allocations: 0.6848 MB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.2668, allocations: 7.984 kB / 0.9057 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.2668, allocations: 11.44 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of SimCode: time 7.21e-07/0.2668, allocations: 0 / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.004961/0.2718, allocations: 1.335 MB / 0.9071 GB, free: 56.76 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)