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.369/2.369, allocations: 252.6 MB / 265.2 MB, free: 5.688 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.002276/0.002277, allocations: 187.8 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.001053/0.001053, allocations: 93.75 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.105e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 106.2 MB / 0.8949 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8863/1.077, allocations: 133.5 MB / 1.025 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.078, allocations: 87.11 kB / 1.025 GB, free: 1.031 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.01382/1.092, allocations: 2.975 MB / 1.028 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.714e-06/1.092, allocations: 0 / 1.028 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.314e-06/1.092, allocations: 0 / 1.028 GB, free: 14.47 MB / 0.6511 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.0006444/1.092, allocations: 416 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.092, allocations: 8.031 kB / 1.029 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/1.092, allocations: 19.11 kB / 1.029 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/1.093, allocations: 167 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/1.093, allocations: 7.984 kB / 1.029 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/1.093, allocations: 4 kB / 1.029 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.093, allocations: 59.16 kB / 1.029 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.093, allocations: 4 kB / 1.029 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/1.093, allocations: 11.55 kB / 1.029 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/1.093, allocations: 0 / 1.029 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.669e-05/1.093, allocations: 18.73 kB / 1.029 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008062/1.094, allocations: 322.2 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/1.094, allocations: 40.62 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/1.094, allocations: 31.11 kB / 1.029 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/1.094, allocations: 4 kB / 1.029 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/1.094, allocations: 69.33 kB / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/1.094, allocations: 0 / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003394/1.095, allocations: 111.6 kB / 1.029 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.095, allocations: 51.41 kB / 1.029 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/1.095, allocations: 117.2 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.095, allocations: 25.7 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/1.095, allocations: 87.14 kB / 1.03 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/1.095, allocations: 19.73 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.095, allocations: 3.562 kB / 1.03 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.095, allocations: 318 kB / 1.03 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/1.095, allocations: 23.75 kB / 1.03 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.086e-05/1.095, allocations: 41.19 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.976e-05/1.095, allocations: 30.42 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/1.095, allocations: 0 / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002472/1.096, allocations: 98.27 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.096, allocations: 4 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.096, allocations: 3.984 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.096, allocations: 4 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.096, allocations: 12.06 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/1.096, allocations: 3.953 kB / 1.03 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/1.096, allocations: 11.98 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/1.096, allocations: 7.312 kB / 1.03 GB, free: 12.28 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.000104/1.096, allocations: 113.3 kB / 1.03 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/1.096, allocations: 7.906 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/1.096, allocations: 4.625 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.096, allocations: 8 kB / 1.03 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.096, allocations: 3.984 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.096, allocations: 3.953 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/1.097, allocations: 357.1 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.097, allocations: 3.984 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/1.097, allocations: 4 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.097, allocations: 4 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.097, allocations: 3.938 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/1.097, allocations: 3.953 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.097, allocations: 4 kB / 1.031 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.097, allocations: 195.8 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/1.098, allocations: 81.02 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/1.098, allocations: 4 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/1.098, allocations: 11.17 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/1.098, allocations: 3.953 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.098, allocations: 7.938 kB / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.674e-05/1.098, allocations: 101.8 kB / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.098, allocations: 0 / 1.031 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004238/1.098, allocations: 51.75 kB / 1.031 GB, free: 11.3 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.0004597/1.099, allocations: 165.7 kB / 1.031 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002205/1.099, allocations: 56.61 kB / 1.031 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.099, allocations: 0 / 1.031 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.099, allocations: 38.48 kB / 1.031 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/1.099, allocations: 7.938 kB / 1.031 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/1.1, allocations: 103.2 kB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/1.1, allocations: 0.696 MB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.579e-05/1.1, allocations: 8.312 kB / 1.032 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/1.1, allocations: 11.42 kB / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/1.1, allocations: 0 / 1.032 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.005854/1.106, allocations: 1.537 MB / 1.034 GB, free: 8.695 MB / 0.6511 GB