Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009723/0.0009724, allocations: 178.4 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008239/0.0008238, allocations: 82.31 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 6.031 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 106.3 MB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001494/0.2641, allocations: 1.188 MB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2651, allocations: 0.7217 MB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.2651, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.487e-05/0.2652, allocations: 7.938 kB / 0.9027 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.2652, allocations: 7.922 kB / 0.9027 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.2657, allocations: 99.75 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.2658, allocations: 67.78 kB / 0.9029 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.2658, allocations: 11.92 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.2659, allocations: 31.91 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.392e-05/0.266, allocations: 39.84 kB / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.266, allocations: 0 / 0.9029 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001419/0.2662, allocations: 83.91 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2662, allocations: 15.91 kB / 0.903 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.2662, allocations: 37.7 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.2663, allocations: 87.83 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2664, allocations: 4 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2664, allocations: 0 / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2664, allocations: 0 / 0.9032 GB, free: 61.5 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.0004968/0.2669, allocations: 417.9 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.2669, allocations: 8.031 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.267, allocations: 11.86 kB / 0.9036 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.267, allocations: 178.8 kB / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.2671, allocations: 0 / 0.9038 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.2671, allocations: 11.98 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2673, allocations: 65.66 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.2673, allocations: 8 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2673, allocations: 3.938 kB / 0.9038 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2673, allocations: 3.984 kB / 0.9038 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.2674, allocations: 39.97 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.2679, allocations: 324.7 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2681, allocations: 50.5 kB / 0.9042 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.528e-05/0.2682, allocations: 32.97 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2682, allocations: 12 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2684, allocations: 79.36 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.2684, allocations: 3.938 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000347/0.2687, allocations: 157.5 kB / 0.9045 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.2688, allocations: 55.41 kB / 0.9046 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.483e-05/0.2688, allocations: 117.8 kB / 0.9047 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.2688, allocations: 25.7 kB / 0.9047 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2689, allocations: 92.31 kB / 0.9048 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.2689, allocations: 15.75 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.2689, allocations: 4 kB / 0.9048 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.954e-05/0.269, allocations: 322.8 kB / 0.9051 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.2691, allocations: 27.98 kB / 0.9051 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.2692, allocations: 46.56 kB / 0.9052 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.279e-05/0.2692, allocations: 39.92 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2693, allocations: 4 kB / 0.9052 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001968/0.2695, allocations: 117.5 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2695, allocations: 8 kB / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2695, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2695, allocations: 0 / 0.9053 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.2696, allocations: 19.94 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2696, allocations: 4.062 kB / 0.9054 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.2697, allocations: 15.84 kB / 0.9054 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2697, allocations: 11.98 kB / 0.9054 GB, free: 58.97 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 6.397e-05/0.2698, allocations: 117.8 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.2698, allocations: 4 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.2698, allocations: 8.375 kB / 0.9055 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2698, allocations: 4 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2698, allocations: 3.953 kB / 0.9055 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2698, allocations: 4 kB / 0.9055 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.2702, allocations: 378.4 kB / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2702, allocations: 0 / 0.9059 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.2702, allocations: 15.92 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2702, allocations: 4 kB / 0.9059 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2703, allocations: 7.953 kB / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2703, allocations: 0 / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2703, allocations: 0 / 0.9059 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2705, allocations: 211.4 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.987e-05/0.2705, allocations: 77.11 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.2705, allocations: 4 kB / 0.9062 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.2706, allocations: 15.95 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.2707, allocations: 7.922 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.2707, allocations: 4 kB / 0.9062 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.2707, allocations: 91.27 kB / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2707, allocations: 0 / 0.9063 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002575/0.271, allocations: 43.92 kB / 0.9064 GB, free: 57.89 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.0002975/0.2713, allocations: 166.3 kB / 0.9065 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2715, allocations: 75.89 kB / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2715, allocations: 0 / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.2716, allocations: 48.03 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.2719, allocations: 8 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.2722, allocations: 236.8 kB / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2723, allocations: 0.6926 MB / 0.9075 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.2724, allocations: 11.44 kB / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2724, allocations: 0 / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.002685/0.2751, allocations: 1.613 MB / 0.9091 GB, free: 55.01 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)