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.001067/0.001067, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.008539/0.008539, allocations: 170.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.728/1.728, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005372/0.0005376, allocations: 21.36 kB / 0.6743 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2294, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001739/0.2312, allocations: 1.2 MB / 0.7891 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2325, allocations: 0.749 MB / 0.7898 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.2326, allocations: 4 kB / 0.7898 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.2326, allocations: 3.938 kB / 0.7898 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.2327, allocations: 11.91 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.2332, allocations: 103.8 kB / 0.7899 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.2334, allocations: 71.78 kB / 0.79 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.048e-05/0.2335, allocations: 15.92 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/0.2336, allocations: 31.84 kB / 0.79 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.128e-05/0.2336, allocations: 35.91 kB / 0.7901 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.2337, allocations: 4 kB / 0.7901 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.2339, allocations: 91.84 kB / 0.7901 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2339, allocations: 15.92 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.234, allocations: 53.55 kB / 0.7902 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2342, allocations: 139.9 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2342, allocations: 0 / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2343, allocations: 4 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2343, allocations: 0 / 0.7903 GB, free: 9.031 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.0005752/0.2348, allocations: 405 kB / 0.7907 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2349, allocations: 8.031 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.2349, allocations: 8.844 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2351, allocations: 176.2 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2351, allocations: 12.36 kB / 0.7909 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2351, allocations: 4.312 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2353, allocations: 77.97 kB / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2353, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.2353, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2354, allocations: 0 / 0.791 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2355, allocations: 47.97 kB / 0.7911 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.2361, allocations: 316.8 kB / 0.7914 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.2362, allocations: 54.5 kB / 0.7914 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.2363, allocations: 36.97 kB / 0.7914 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.2364, allocations: 4 kB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2365, allocations: 75.38 kB / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.2365, allocations: 0 / 0.7915 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003907/0.2369, allocations: 157.5 kB / 0.7917 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.237, allocations: 55.47 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.2371, allocations: 121.8 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2371, allocations: 33.7 kB / 0.7919 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.2372, allocations: 88.12 kB / 0.792 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.2372, allocations: 19.75 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2372, allocations: 17.7 kB / 0.792 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.2373, allocations: 318.8 kB / 0.7923 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-05/0.2374, allocations: 35.98 kB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.2375, allocations: 50.55 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2377, allocations: 82.48 kB / 0.7925 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2377, allocations: 3.938 kB / 0.7925 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002497/0.238, allocations: 113.8 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.238, allocations: 11.98 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.238, allocations: 8 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2381, allocations: 3.984 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.2382, allocations: 12 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2382, allocations: 80 / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/0.2382, allocations: 11.89 kB / 0.7926 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.2383, allocations: 7.984 kB / 0.7926 GB, free: 6.453 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/0.2384, allocations: 126.4 kB / 0.7927 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.2384, allocations: 8 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.2384, allocations: 12.36 kB / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2384, allocations: 0 / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2384, allocations: 0 / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.2385, allocations: 0 / 0.7928 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004398/0.2389, allocations: 394.2 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2389, allocations: 8 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.239, allocations: 4 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.239, allocations: 0 / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.239, allocations: 3.984 kB / 0.7932 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.239, allocations: 0 / 0.7932 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.239, allocations: 3.938 kB / 0.7932 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.2393, allocations: 219.4 kB / 0.7934 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.2393, allocations: 81.11 kB / 0.7934 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2394, allocations: 4 kB / 0.7934 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.2394, allocations: 7.984 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.2395, allocations: 7.938 kB / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2395, allocations: 7.984 kB / 0.7935 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.2396, allocations: 95.27 kB / 0.7936 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2396, allocations: 3.938 kB / 0.7936 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003083/0.2399, allocations: 40 kB / 0.7936 GB, free: 5.348 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003738/0.2403, allocations: 158.8 kB / 0.7938 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.2405, allocations: 83.95 kB / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2405, allocations: 0 / 0.7938 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.802e-05/0.2407, allocations: 35.98 kB / 0.7939 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.2409, allocations: 4 kB / 0.7939 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.2414, allocations: 223.1 kB / 0.7941 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2417, allocations: 0.6887 MB / 0.7948 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.2418, allocations: 7.984 kB / 0.7948 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.2418, allocations: 15.42 kB / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2418, allocations: 0 / 0.7948 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of Templates: time 0.004263/0.2461, allocations: 1.36 MB / 0.7961 GB, free: 2.746 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: