Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009582/0.0009577, allocations: 91.61 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.0009518/0.0009518, 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.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.589/1.589, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005594/0.0005595, allocations: 20.84 kB / 0.6737 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.236, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.001576/0.2376, allocations: 1.187 MB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2387, allocations: 0.7192 MB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.2387, allocations: 0 / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2387, allocations: 3.984 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.747e-05/0.2388, allocations: 15.88 kB / 0.7892 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.2392, allocations: 91.77 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.848e-05/0.2393, allocations: 63.78 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.165e-05/0.2394, allocations: 11.98 kB / 0.7893 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.2395, allocations: 31.91 kB / 0.7894 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.2396, allocations: 31.89 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.2396, allocations: 4 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.2398, allocations: 83.86 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2398, allocations: 15.97 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2398, allocations: 37.64 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.24, allocations: 100 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.24, allocations: 3.938 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.24, allocations: 0 / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.24, allocations: 0 / 0.7896 GB, free: 9.512 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.0005052/0.2405, allocations: 408.8 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.2406, allocations: 8.031 kB / 0.79 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.2406, allocations: 7.906 kB / 0.79 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2407, allocations: 178.9 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2408, allocations: 7.938 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2408, allocations: 4 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.2409, allocations: 69.66 kB / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.241, allocations: 0 / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.241, allocations: 0 / 0.7903 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.241, allocations: 8 kB / 0.7903 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.2411, allocations: 39.97 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.2416, allocations: 320.7 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.2418, allocations: 58.48 kB / 0.7907 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.2419, allocations: 32.97 kB / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.2419, allocations: 0 / 0.7907 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2421, allocations: 87.44 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2421, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003539/0.2424, allocations: 145.5 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2425, allocations: 67.3 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.2426, allocations: 121.8 kB / 0.7911 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2426, allocations: 29.64 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.2426, allocations: 88.33 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.2427, allocations: 19.75 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-06/0.2427, allocations: 0 / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/0.2428, allocations: 318.8 kB / 0.7915 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/0.2428, allocations: 35.98 kB / 0.7916 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.973e-05/0.2429, allocations: 50.55 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.42e-05/0.243, allocations: 35.97 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.243, allocations: 0 / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000226/0.2433, allocations: 117.5 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.2433, allocations: 7.984 kB / 0.7918 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2433, allocations: 4 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2433, allocations: 7.984 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.2434, allocations: 11.94 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2434, allocations: 3.953 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.2435, allocations: 20.05 kB / 0.7918 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.2435, allocations: 4 kB / 0.7918 GB, free: 7.004 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.541e-05/0.2436, allocations: 113.8 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.2436, allocations: 7.906 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.2437, allocations: 12.36 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2437, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2437, allocations: 0 / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2437, allocations: 3.953 kB / 0.792 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.2441, allocations: 390.4 kB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2441, allocations: 0 / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.2441, allocations: 4 kB / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2441, allocations: 0 / 0.7923 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.2442, allocations: 3.984 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2442, allocations: 7.953 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2442, allocations: 4 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.2444, allocations: 219.8 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2445, allocations: 81.02 kB / 0.7926 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.2445, allocations: 3.984 kB / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.2446, allocations: 4 kB / 0.7926 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.2446, allocations: 19.94 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.2447, allocations: 4 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.2447, allocations: 91.92 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2447, allocations: 0 / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000286/0.245, allocations: 36 kB / 0.7928 GB, free: 5.918 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.0003153/0.2453, allocations: 162.4 kB / 0.7929 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.2456, allocations: 79.89 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2456, allocations: 0 / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.735e-05/0.2457, allocations: 35.97 kB / 0.7931 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.2459, allocations: 20.05 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.0003518/0.2463, allocations: 199.2 kB / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.2465, allocations: 0.6926 MB / 0.7939 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.2466, allocations: 16.16 kB / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.2466, allocations: 11.44 kB / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2466, allocations: 0 / 0.794 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of Templates: time 0.003722/0.2503, allocations: 1.34 MB / 0.7953 GB, free: 3.332 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) Environment - environmentSimulation: