Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.625/2.625, allocations: 287.9 MB / 302.9 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001419, allocations: 186.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 96.53 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00045/0.0004502, allocations: 10.25 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.0014/0.1821, allocations: 1.179 MB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1832, allocations: 0.7192 MB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.1833, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.1833, allocations: 11.86 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.1834, allocations: 15.97 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.1838, allocations: 87.77 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.919e-05/0.1839, allocations: 47.88 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/0.184, allocations: 8 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.1841, allocations: 35.89 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.1842, allocations: 31.84 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.1842, allocations: 4 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.1844, allocations: 67.86 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.1844, allocations: 15.92 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1845, allocations: 37.7 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1846, allocations: 104 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.777e-06/0.1846, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.178e-06/0.1847, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.562e-06/0.1847, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 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.000504/0.1852, allocations: 404.8 kB / 0.9814 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1852, allocations: 12.03 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1853, allocations: 7.859 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.1854, allocations: 171 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.1854, allocations: 7.938 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1854, allocations: 8 kB / 0.9816 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.1856, allocations: 77.62 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.006e-06/0.1857, allocations: 3.938 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1857, allocations: 3.984 kB / 0.9817 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-06/0.1857, allocations: 4 kB / 0.9817 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.1859, allocations: 39.98 kB / 0.9818 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.1865, allocations: 320.7 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1866, allocations: 58.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1867, allocations: 128 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001974/0.1869, allocations: 79.38 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.359e-06/0.1869, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000452/0.1873, allocations: 157.6 kB / 0.9823 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.1874, allocations: 51.41 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.1875, allocations: 125.7 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.1875, allocations: 25.7 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.1876, allocations: 92.33 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.1876, allocations: 19.73 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-06/0.1876, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.1877, allocations: 318.8 kB / 0.983 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1878, allocations: 27.97 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1879, allocations: 46.56 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.188, allocations: 39.98 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.714e-06/0.188, allocations: 3.938 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002961/0.1884, allocations: 117.5 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1884, allocations: 8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.303e-06/0.1884, allocations: 4.062 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1884, allocations: 0 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1885, allocations: 19.92 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.1886, allocations: 3.953 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1887, allocations: 11.94 kB / 0.9832 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1887, allocations: 4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 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 7.596e-05/0.1888, allocations: 113.8 kB / 0.9833 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.1888, allocations: 15.89 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.1889, allocations: 8.375 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-06/0.1889, allocations: 4 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1889, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-06/0.1889, allocations: 3.953 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.1894, allocations: 378.4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-06/0.1895, allocations: 4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.024e-05/0.1895, allocations: 12 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-06/0.1895, allocations: 0 / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1896, allocations: 3.984 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.635e-06/0.1896, allocations: 3.953 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-06/0.1896, allocations: 0 / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1899, allocations: 219.3 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.19, allocations: 85.02 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.19, allocations: 3.984 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1902, allocations: 8 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1902, allocations: 11.94 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1902, allocations: 3.984 kB / 0.9841 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.1903, allocations: 95.86 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.05e-07/0.1903, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003786/0.1907, allocations: 40 kB / 0.9842 GB, free: 22.25 MB / 0.6198 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.0003388/0.1911, allocations: 162.6 kB / 0.9843 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.1913, allocations: 83.89 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.734e-06/0.1914, allocations: 0 / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1915, allocations: 35.98 kB / 0.9845 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1917, allocations: 7.984 kB / 0.9845 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.1921, allocations: 215.1 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.1923, allocations: 0.6936 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1923, allocations: 4.188 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.1924, allocations: 7.438 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.399e-06/0.1924, allocations: 0 / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.004329/0.1967, allocations: 1.338 MB / 0.9867 GB, free: 19.68 MB / 0.6198 GB