Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 285 MB / 292.5 MB, free: 10.5 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.001503/0.001503, allocations: 184.8 kB / 360.7 MB, free: 7.219 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.212/2.212, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 89.02 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.963e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8979, allocations: 115.2 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/1.142, allocations: 139.1 MB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004847/1.143, allocations: 77.38 kB / 1.099 GB, free: 1.289 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.02237/1.165, allocations: 2.963 MB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.164e-06/1.165, allocations: 0.7188 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/1.165, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 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.0009336/1.166, allocations: 415.3 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.171e-05/1.166, allocations: 12.81 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/1.166, allocations: 7.906 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/1.167, allocations: 170.9 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.375e-05/1.167, allocations: 3.984 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/1.167, allocations: 4.625 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001603/1.167, allocations: 20.53 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/1.167, allocations: 61.72 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.167, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.167, allocations: 4 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/1.167, allocations: 0.7188 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/1.168, allocations: 296.4 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/1.169, allocations: 35.08 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.169, allocations: 29.5 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/1.169, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/1.169, allocations: 74.39 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.406e-06/1.169, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005115/1.17, allocations: 93.61 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/1.17, allocations: 55.47 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.17, allocations: 112.9 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/1.17, allocations: 28.27 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/1.17, allocations: 92.27 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/1.17, allocations: 19.75 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.311e-05/1.17, allocations: 0 / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.17, allocations: 322.8 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/1.171, allocations: 19.81 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/1.171, allocations: 40.97 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.171, allocations: 20 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.171, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004072/1.171, allocations: 89.52 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/1.171, allocations: 4.938 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.171, allocations: 8.062 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.171, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.172, allocations: 15.92 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.172, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/1.172, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/1.172, allocations: 11.98 kB / 1.104 GB, free: 12.15 MB / 0.7136 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.0001563/1.172, allocations: 108.7 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/1.172, allocations: 11.91 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.897e-05/1.172, allocations: 11.44 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.172, allocations: 4 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.172, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.172, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008336/1.173, allocations: 339 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/1.173, allocations: 0 / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.173, allocations: 5.078 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/1.173, allocations: 4 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/1.173, allocations: 10.67 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/1.173, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.173, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/1.174, allocations: 194.4 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.457e-05/1.174, allocations: 85.05 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/1.174, allocations: 3.938 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/1.174, allocations: 7.984 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/1.174, allocations: 8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/1.175, allocations: 3.984 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001052/1.175, allocations: 91.28 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.72e-07/1.175, allocations: 0 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000727/1.175, allocations: 51.91 kB / 1.105 GB, free: 11.15 MB / 0.7136 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.0007668/1.176, allocations: 164.5 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003701/1.177, allocations: 59.91 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.177, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.177, allocations: 24 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/1.177, allocations: 11.8 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/1.178, allocations: 102.8 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004614/1.178, allocations: 0.6932 MB / 1.106 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001055/1.178, allocations: 9.422 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/1.179, allocations: 11.44 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of SimCode: time 1.813e-06/1.179, allocations: 3.938 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.009687/1.188, allocations: 1.501 MB / 1.108 GB, free: 8.586 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)