Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 285.7 MB / 293.1 MB, free: 10.17 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.00152, allocations: 180.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.0008275, allocations: 85.75 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.899e-05, allocations: 4 kB / 0.8517 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6948/0.6948, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.8947, allocations: 139.3 MB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.895, allocations: 85.58 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.009318/0.9043, allocations: 2.959 MB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9044, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9044, allocations: 0 / 1.103 GB, free: 13.59 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.0006101/0.905, allocations: 421.6 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.9051, allocations: 8.031 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.9051, allocations: 13.47 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.9053, allocations: 170.8 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.9053, allocations: 4.562 kB / 1.104 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.9054, allocations: 4.5 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.168e-05/0.9055, allocations: 20.84 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.9056, allocations: 57.66 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.9056, allocations: 1.438 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.9056, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.9056, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.9063, allocations: 295.4 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.9064, allocations: 39.95 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.9064, allocations: 21.67 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.9065, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.9066, allocations: 76.67 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.9066, allocations: 1.094 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002768/0.9069, allocations: 93.61 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.9069, allocations: 55.41 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.9071, allocations: 117.7 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.9071, allocations: 25.7 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.069e-05/0.9072, allocations: 93.31 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.9072, allocations: 15.75 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.9072, allocations: 5.594 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.9074, allocations: 318.8 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.051e-05/0.9074, allocations: 20 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.9075, allocations: 39.3 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.9075, allocations: 19.98 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9076, allocations: 4 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000175/0.9077, allocations: 96.31 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.9078, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9078, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.9078, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.908, allocations: 15.92 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.908, allocations: 4.062 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.338e-05/0.9081, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.9081, allocations: 4 kB / 1.105 GB, free: 11.36 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 9.056e-05/0.9082, allocations: 114.7 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.9082, allocations: 7.906 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.9082, allocations: 8.609 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.9083, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.9083, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.9083, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.9087, allocations: 336.3 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.9087, allocations: 0 / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.9087, allocations: 7.984 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.9087, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.9087, allocations: 0 / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.892e-05/0.9088, allocations: 4 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9088, allocations: 3.938 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.909, allocations: 203.4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.9091, allocations: 81.09 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.9091, allocations: 4.688 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.9092, allocations: 4 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.9093, allocations: 7.922 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.9093, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.9093, allocations: 94.11 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9093, allocations: 5.781 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00033/0.9097, allocations: 47.94 kB / 1.106 GB, free: 10.36 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.0004298/0.9101, allocations: 168.1 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001458/0.9103, allocations: 55.92 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9103, allocations: 6.375 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.9103, allocations: 24 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.9105, allocations: 11.94 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.9108, allocations: 99.59 kB / 1.107 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.9112, allocations: 0.6931 MB / 1.107 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.602e-05/0.9112, allocations: 8.188 kB / 1.107 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.9113, allocations: 7.438 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9113, allocations: 3.938 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.004349/0.9156, allocations: 1.508 MB / 1.109 GB, free: 7.781 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)