Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 253.2 MB / 260.6 MB, free: 7.426 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001431, allocations: 183.4 kB / 319.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.242/2.242, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 94.2 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.716e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2004, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9212/1.122, allocations: 133.7 MB / 1.019 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/1.122, allocations: 82.31 kB / 1.019 GB, free: 3.633 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01399/1.136, allocations: 2.96 MB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.272e-06/1.136, allocations: 0 / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.184e-06/1.136, allocations: 0 / 1.022 GB, free: 1.125 MB / 0.6355 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.0006574/1.137, allocations: 418.8 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.137, allocations: 12.02 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/1.137, allocations: 11.86 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/1.137, allocations: 171 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/1.137, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/1.137, allocations: 11.97 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000109/1.137, allocations: 25.19 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/1.137, allocations: 56.55 kB / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.137, allocations: 0 / 1.023 GB, free: 368 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/1.137, allocations: 4 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.137, allocations: 0 / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/1.138, allocations: 289.7 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.138, allocations: 45.64 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/1.139, allocations: 28.28 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/1.139, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/1.139, allocations: 66.75 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/1.139, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003385/1.139, allocations: 99.64 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.139, allocations: 59.36 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/1.139, allocations: 116.2 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.139, allocations: 25.7 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/1.139, allocations: 83.89 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/1.139, allocations: 19.31 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-06/1.139, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.14, allocations: 322.5 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/1.14, allocations: 23.06 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/1.14, allocations: 38.69 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.954e-05/1.14, allocations: 23.06 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.14, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002469/1.14, allocations: 95.88 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.14, allocations: 8 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.14, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.14, allocations: 0 / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.14, allocations: 19.23 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/1.14, allocations: 4.062 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/1.141, allocations: 7.953 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.141, allocations: 7.938 kB / 1.024 GB, free: 15 MB / 0.6511 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 () * 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.000111/1.141, allocations: 116.7 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/1.141, allocations: 3.906 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/1.141, allocations: 8.625 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.141, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.141, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.141, allocations: 4 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/1.141, allocations: 334.8 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/1.141, allocations: 4 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.616e-05/1.141, allocations: 4 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.141, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/1.141, allocations: 3.938 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.141, allocations: 3.984 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.141, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/1.142, allocations: 196.8 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.854e-05/1.142, allocations: 85.02 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/1.142, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.142, allocations: 7.984 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/1.142, allocations: 7.5 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/1.142, allocations: 3.984 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.627e-05/1.142, allocations: 91.88 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.142, allocations: 8 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004553/1.143, allocations: 51.5 kB / 1.025 GB, free: 14.05 MB / 0.6511 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 () * 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.0005021/1.143, allocations: 173.4 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001991/1.143, allocations: 50.17 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.143, allocations: 4.125 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/1.144, allocations: 34.98 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/1.144, allocations: 4 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003829/1.144, allocations: 94.47 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.145, allocations: 0.6885 MB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.364e-05/1.145, allocations: 4.188 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/1.145, allocations: 19.42 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/1.145, allocations: 0 / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of Templates: time 0.006056/1.151, allocations: 1.501 MB / 1.028 GB, free: 11.5 MB / 0.6511 GB