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 5.049/5.049, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002517/0.002517, allocations: 355.1 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.061/4.061, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001763/0.001762, allocations: 174 kB / 1.225 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12.58 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1662, allocations: 115.3 MB / 1.461 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002316/0.1685, allocations: 1.179 MB / 1.462 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1706, allocations: 0.7192 MB / 1.463 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.1707, allocations: 4 kB / 1.463 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.1707, allocations: 3.938 kB / 1.463 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.448e-05/0.1708, allocations: 7.938 kB / 1.463 GB, free: 4.723 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.1715, allocations: 95.69 kB / 1.463 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1717, allocations: 67.77 kB / 1.463 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.1718, allocations: 11.98 kB / 1.463 GB, free: 4.551 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.1719, allocations: 23.92 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.1721, allocations: 35.83 kB / 1.463 GB, free: 4.492 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.1721, allocations: 8 kB / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.1724, allocations: 83.84 kB / 1.463 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.008e-05/0.1725, allocations: 15.92 kB / 1.463 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.1725, allocations: 33.7 kB / 1.463 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1728, allocations: 100 kB / 1.463 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.1728, allocations: 0 / 1.463 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.572e-06/0.1729, allocations: 0 / 1.463 GB, free: 4.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.574e-06/0.1729, allocations: 0 / 1.463 GB, free: 4.25 MB / 0.6042 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.0007154/0.1736, allocations: 412.8 kB / 1.463 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1737, allocations: 12.03 kB / 1.463 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.1738, allocations: 11.8 kB / 1.463 GB, free: 3.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1739, allocations: 171 kB / 1.464 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.174, allocations: 4 kB / 1.464 GB, free: 3.559 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.174, allocations: 11.98 kB / 1.464 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1743, allocations: 69.66 kB / 1.464 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1744, allocations: 0 / 1.464 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.1744, allocations: 4 kB / 1.464 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1744, allocations: 4 kB / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.1747, allocations: 39.97 kB / 1.464 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009024/0.1757, allocations: 328.6 kB / 1.464 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.176, allocations: 54.55 kB / 1.464 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.1762, allocations: 32.97 kB / 1.464 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.1762, allocations: 0 / 1.464 GB, free: 2.957 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003103/0.1765, allocations: 87.36 kB / 1.464 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.722e-06/0.1766, allocations: 7.875 kB / 1.464 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007962/0.1774, allocations: 145.6 kB / 1.464 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1775, allocations: 63.41 kB / 1.464 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1776, allocations: 117.8 kB / 1.465 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.1776, allocations: 29.7 kB / 1.465 GB, free: 2.469 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1777, allocations: 92.38 kB / 1.465 GB, free: 2.375 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.1778, allocations: 19.75 kB / 1.465 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.28e-05/0.1778, allocations: 0 / 1.465 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.1779, allocations: 322.8 kB / 1.465 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.1781, allocations: 31.98 kB / 1.465 GB, free: 2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1783, allocations: 50.5 kB / 1.465 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.1786, allocations: 35.92 kB / 1.465 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.936e-06/0.1786, allocations: 0 / 1.465 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005505/0.1792, allocations: 121.5 kB / 1.465 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1792, allocations: 4 kB / 1.465 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1792, allocations: 4 kB / 1.465 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1793, allocations: 0 / 1.465 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1795, allocations: 15.94 kB / 1.465 GB, free: 1.758 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1795, allocations: 4 kB / 1.465 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.1797, allocations: 12.06 kB / 1.465 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.1797, allocations: 7.984 kB / 1.465 GB, free: 1.734 MB / 0.6042 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 0.0001164/0.1799, allocations: 118.3 kB / 1.465 GB, free: 1.609 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.1799, allocations: 7.906 kB / 1.465 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.18, allocations: 8.375 kB / 1.465 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-06/0.18, allocations: 0 / 1.465 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.947e-06/0.18, allocations: 3.953 kB / 1.465 GB, free: 1.594 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.985e-06/0.1801, allocations: 8 kB / 1.465 GB, free: 1.586 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009182/0.181, allocations: 378.5 kB / 1.466 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.256e-06/0.181, allocations: 0 / 1.466 GB, free: 1.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.676e-05/0.1811, allocations: 11.92 kB / 1.466 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.427e-06/0.1812, allocations: 0 / 1.466 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.1812, allocations: 7.953 kB / 1.466 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.906e-06/0.1812, allocations: 4 kB / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.543e-06/0.1812, allocations: 0 / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.1819, allocations: 215.4 kB / 1.466 GB, free: 0.9102 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1821, allocations: 81.02 kB / 1.466 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.1821, allocations: 0 / 1.466 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.1824, allocations: 11.95 kB / 1.466 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.1825, allocations: 11.98 kB / 1.466 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.1825, allocations: 8 kB / 1.466 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001108/0.1826, allocations: 91.92 kB / 1.466 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.098e-06/0.1827, allocations: 0 / 1.466 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000744/0.1834, allocations: 47.86 kB / 1.466 GB, free: 0.6445 MB / 0.6042 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.0009145/0.1844, allocations: 169.4 kB / 1.466 GB, free: 496 kB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000866/0.1853, allocations: 75.95 kB / 1.466 GB, free: 420 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.243e-06/0.1853, allocations: 0 / 1.466 GB, free: 420 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.1857, allocations: 44.03 kB / 1.467 GB, free: 376 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008616/0.1866, allocations: 8 kB / 1.467 GB, free: 368 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1878, allocations: 203.1 kB / 1.467 GB, free: 140 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/0.1886, allocations: 0.6926 MB / 1.467 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.887e-05/0.1887, allocations: 8.172 kB / 1.467 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1888, allocations: 11.44 kB / 1.467 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of SimCode: time 2.782e-06/0.1888, allocations: 0 / 1.467 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.009426/0.1983, allocations: 1.345 MB / 1.469 GB, free: 14.06 MB / 0.6198 GB