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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009868/0.0009868, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.0005139, allocations: 14.09 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001795/0.2335, allocations: 1.195 MB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001155/0.2346, allocations: 0.7154 MB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.2347, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.2348, allocations: 3.938 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.677e-05/0.2349, allocations: 3.938 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006152/0.2355, allocations: 99.75 kB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2356, allocations: 59.78 kB / 0.7893 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2357, allocations: 19.97 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.2358, allocations: 31.92 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.341e-05/0.2359, allocations: 31.89 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.2359, allocations: 4 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2362, allocations: 83.84 kB / 0.7895 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.2362, allocations: 15.92 kB / 0.7895 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.2362, allocations: 33.7 kB / 0.7895 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.2364, allocations: 104 kB / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2365, allocations: 0 / 0.7896 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.095e-06/0.2365, allocations: 7.938 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2365, allocations: 0 / 0.7896 GB, free: 9.516 MB / 0.6075 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.0006343/0.2371, allocations: 408.8 kB / 0.79 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2372, allocations: 8.031 kB / 0.79 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.2372, allocations: 7.906 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2374, allocations: 174.9 kB / 0.7902 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.2374, allocations: 8 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.2374, allocations: 7.984 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.2376, allocations: 69.66 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2376, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2377, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2377, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.2378, allocations: 47.97 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2384, allocations: 324.6 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2386, allocations: 54.55 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.2386, allocations: 36.97 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.2387, allocations: 4.062 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001866/0.2389, allocations: 79.38 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2389, allocations: 4 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000363/0.2392, allocations: 145.6 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.2393, allocations: 55.36 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.2394, allocations: 133.6 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2395, allocations: 25.7 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.2395, allocations: 96.31 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.2396, allocations: 19.73 kB / 0.7912 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-06/0.2396, allocations: 4 kB / 0.7912 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2397, allocations: 318.8 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.2398, allocations: 27.98 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/0.2399, allocations: 50.56 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.24, allocations: 31.98 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.24, allocations: 0 / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002285/0.2402, allocations: 125.8 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2402, allocations: 7.938 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2402, allocations: 80 / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2403, allocations: 0 / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.2404, allocations: 15.98 kB / 0.7918 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.2404, allocations: 7.938 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.2404, allocations: 4 kB / 0.7918 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2405, allocations: 11.98 kB / 0.7918 GB, free: 7.012 MB / 0.6075 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.629e-05/0.2406, allocations: 118.5 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2406, allocations: 7.906 kB / 0.7919 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.2406, allocations: 12.38 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2406, allocations: 3.938 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2406, allocations: 3.938 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2406, allocations: 3.953 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004357/0.2411, allocations: 386.5 kB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2411, allocations: 0 / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.104e-05/0.2411, allocations: 7.984 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2412, allocations: 0 / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.2412, allocations: 0 / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2412, allocations: 7.891 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2412, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2415, allocations: 223.3 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.467e-05/0.2416, allocations: 85.02 kB / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2416, allocations: 0 / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.2417, allocations: 4 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/0.2418, allocations: 15.94 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2418, allocations: 0 / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.2418, allocations: 91.27 kB / 0.7928 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2418, allocations: 8 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003167/0.2422, allocations: 39.98 kB / 0.7928 GB, free: 5.914 MB / 0.6075 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.0004248/0.2426, allocations: 164 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.2428, allocations: 79.89 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2429, allocations: 0 / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.243, allocations: 43.91 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.2432, allocations: 10.44 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004031/0.2436, allocations: 214.2 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.2439, allocations: 0.6887 MB / 0.794 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.705e-05/0.244, allocations: 4.188 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.244, allocations: 11.44 kB / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.244, allocations: 4 kB / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.003759/0.2478, allocations: 1.333 MB / 0.7953 GB, free: 3.34 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: