Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008729/0.0008727, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008371/0.000837, allocations: 168.7 kB / 15.95 MB, free: 204 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.469/1.469, allocations: 205.4 MB / 222.1 MB, free: 5.617 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.626/1.626, 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.0007206/0.0007207, allocations: 16.88 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2305, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001501/0.2321, allocations: 1.195 MB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.2331, allocations: 0.7076 MB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.2332, allocations: 3.938 kB / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.2332, allocations: 0 / 0.7891 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-05/0.2333, allocations: 7.922 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.2337, allocations: 99.77 kB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2338, allocations: 63.78 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.2339, allocations: 15.92 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.905e-05/0.2339, allocations: 35.84 kB / 0.7894 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.234, allocations: 35.84 kB / 0.7894 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.234, allocations: 4 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.2342, allocations: 83.84 kB / 0.7895 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.2342, allocations: 15.97 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.2343, allocations: 37.64 kB / 0.7895 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.2344, allocations: 100 kB / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2345, allocations: 0 / 0.7896 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2345, allocations: 4 kB / 0.7896 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.2345, 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.0005333/0.235, allocations: 400.8 kB / 0.79 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2351, allocations: 8.031 kB / 0.79 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2351, allocations: 11.91 kB / 0.79 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.885e-05/0.2352, allocations: 178.9 kB / 0.7902 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.2352, allocations: 8 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2353, allocations: 4 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.2354, allocations: 69.59 kB / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2354, allocations: 0 / 0.7903 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2355, allocations: 7.922 kB / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2355, allocations: 0 / 0.7903 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.2356, allocations: 51.97 kB / 0.7903 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.2361, allocations: 312.7 kB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2363, allocations: 54.56 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.2364, allocations: 40.91 kB / 0.7907 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2364, allocations: 3.984 kB / 0.7907 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2366, allocations: 79.45 kB / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2366, allocations: 0 / 0.7908 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003449/0.2369, allocations: 145.6 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.237, allocations: 55.36 kB / 0.791 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.2371, allocations: 130 kB / 0.7911 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.2371, allocations: 29.69 kB / 0.7911 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.2371, allocations: 92.33 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.2372, allocations: 11.75 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.2372, allocations: 8 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2373, allocations: 318.8 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.2374, allocations: 23.98 kB / 0.7916 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.329e-05/0.2375, allocations: 58.59 kB / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.233e-05/0.2376, allocations: 32 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2376, allocations: 0 / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002223/0.2378, allocations: 125.5 kB / 0.7918 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.2378, allocations: 4 kB / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2378, allocations: 0 / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2378, allocations: 0 / 0.7918 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2379, allocations: 27.86 kB / 0.7918 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2379, allocations: 3.953 kB / 0.7918 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.238, allocations: 11.92 kB / 0.7918 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.238, allocations: 4 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 9.054e-05/0.2381, allocations: 118.6 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.2381, allocations: 7.906 kB / 0.7919 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.2382, allocations: 12.38 kB / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2382, allocations: 0 / 0.792 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2382, allocations: 4 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2382, allocations: 7.938 kB / 0.792 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.2386, allocations: 394.8 kB / 0.7923 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2386, allocations: 3.984 kB / 0.7924 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.2387, allocations: 4 kB / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2387, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.2387, allocations: 0 / 0.7924 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2387, allocations: 3.953 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2387, allocations: 0 / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002662/0.239, allocations: 219.3 kB / 0.7926 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.239, allocations: 85.02 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.2391, allocations: 4 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.2391, allocations: 7.984 kB / 0.7927 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.2392, allocations: 7.953 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2392, allocations: 7.984 kB / 0.7927 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.2393, allocations: 87.28 kB / 0.7928 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2393, allocations: 4 kB / 0.7928 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002691/0.2395, 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.0003047/0.2399, allocations: 166.5 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.2401, allocations: 79.83 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2401, allocations: 0 / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.119e-05/0.2402, allocations: 39.98 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.2404, allocations: 4 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.2408, allocations: 215.2 kB / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.2413, allocations: 0.6887 MB / 0.794 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.2413, allocations: 8.188 kB / 0.794 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.2414, allocations: 7.438 kB / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2414, allocations: 0 / 0.794 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of Templates: time 0.00425/0.2456, allocations: 1.334 MB / 0.7953 GB, free: 3.344 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) Environment - environmentSimulation: