Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007345/0.0007345, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004715/0.004715, allocations: 172.2 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 252 MB / 0.5105 GB, free: 4.602 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005548/0.0005548, allocations: 15.98 kB / 0.6249 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4973, allocations: 106.3 MB / 0.7287 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001465/0.4988, allocations: 1.203 MB / 0.7299 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.5, allocations: 0.7603 MB / 0.7306 GB, free: 9.418 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.071e-05/0.5001, allocations: 3.938 kB / 0.7306 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.5001, allocations: 0 / 0.7306 GB, free: 9.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.5002, allocations: 15.86 kB / 0.7307 GB, free: 9.398 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.5006, allocations: 107.8 kB / 0.7308 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.5007, allocations: 75.72 kB / 0.7308 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.5008, allocations: 11.98 kB / 0.7308 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.5009, allocations: 31.91 kB / 0.7309 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.501, allocations: 35.83 kB / 0.7309 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.501, allocations: 0 / 0.7309 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.5011, allocations: 95.84 kB / 0.731 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.5012, allocations: 11.98 kB / 0.731 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.5012, allocations: 61.5 kB / 0.7311 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.5014, allocations: 133.8 kB / 0.7312 GB, free: 8.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5014, allocations: 0 / 0.7312 GB, free: 8.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5014, allocations: 0 / 0.7312 GB, free: 8.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.5014, allocations: 0 / 0.7312 GB, free: 8.84 MB / 0.545 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.0005132/0.5019, allocations: 405 kB / 0.7316 GB, free: 8.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.502, allocations: 12.03 kB / 0.7316 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.502, allocations: 16.84 kB / 0.7316 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.5022, allocations: 180.2 kB / 0.7318 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5022, allocations: 384 / 0.7318 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.5022, allocations: 8.359 kB / 0.7318 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.5024, allocations: 73.97 kB / 0.7319 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5024, allocations: 0 / 0.7319 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5024, allocations: 4 kB / 0.7319 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5024, allocations: 0 / 0.7319 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.5026, allocations: 43.97 kB / 0.7319 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.5031, allocations: 320.7 kB / 0.7322 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.5033, allocations: 50.56 kB / 0.7323 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.5033, allocations: 32.97 kB / 0.7323 GB, free: 7.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5034, allocations: 4 kB / 0.7323 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.5036, allocations: 91.34 kB / 0.7324 GB, free: 7.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.5036, allocations: 0 / 0.7324 GB, free: 7.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003802/0.504, allocations: 141.6 kB / 0.7325 GB, free: 7.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.504, allocations: 55.39 kB / 0.7326 GB, free: 7.242 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.5041, allocations: 129.7 kB / 0.7327 GB, free: 7.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5041, allocations: 29.7 kB / 0.7327 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.5042, allocations: 92.12 kB / 0.7328 GB, free: 6.977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5042, allocations: 11.81 kB / 0.7328 GB, free: 6.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.03e-05/0.5043, allocations: 17.72 kB / 0.7328 GB, free: 6.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5044, allocations: 326.8 kB / 0.7332 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.5045, allocations: 23.98 kB / 0.7332 GB, free: 6.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.5046, allocations: 54.55 kB / 0.7332 GB, free: 6.527 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5047, allocations: 78.5 kB / 0.7333 GB, free: 6.441 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5047, allocations: 7.938 kB / 0.7333 GB, free: 6.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002299/0.505, allocations: 121.5 kB / 0.7334 GB, free: 6.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.505, allocations: 4 kB / 0.7334 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.505, allocations: 4 kB / 0.7334 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.505, allocations: 0 / 0.7334 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.5051, allocations: 11.98 kB / 0.7334 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5051, allocations: 12 kB / 0.7335 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.5052, allocations: 19.92 kB / 0.7335 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.5052, allocations: 4 kB / 0.7335 GB, free: 6.254 MB / 0.545 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,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.277e-05/0.5053, allocations: 117.8 kB / 0.7336 GB, free: 6.129 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.5053, allocations: 7.906 kB / 0.7336 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.5054, allocations: 8.375 kB / 0.7336 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5054, allocations: 0 / 0.7336 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5054, allocations: 7.984 kB / 0.7336 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5054, allocations: 4 kB / 0.7336 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.5058, allocations: 382.8 kB / 0.734 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5058, allocations: 0 / 0.734 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.5059, allocations: 4 kB / 0.734 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5059, allocations: 4 kB / 0.734 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.5059, allocations: 7.938 kB / 0.734 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.5059, allocations: 4 kB / 0.734 GB, free: 5.652 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5059, allocations: 4.016 kB / 0.734 GB, free: 5.648 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.5062, allocations: 219.4 kB / 0.7342 GB, free: 5.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.5062, allocations: 81.02 kB / 0.7343 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5062, allocations: 4 kB / 0.7343 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.5063, allocations: 15.98 kB / 0.7343 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.5064, allocations: 7.875 kB / 0.7343 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5064, allocations: 7.984 kB / 0.7343 GB, free: 5.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.565e-05/0.5064, allocations: 87.94 kB / 0.7344 GB, free: 5.199 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5064, allocations: 0 / 0.7344 GB, free: 5.199 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002767/0.5067, allocations: 43.92 kB / 0.7345 GB, free: 5.156 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002954/0.507, allocations: 167.1 kB / 0.7346 GB, free: 5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5073, allocations: 71.89 kB / 0.7347 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5073, allocations: 0 / 0.7347 GB, free: 4.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.007e-05/0.5074, allocations: 40.11 kB / 0.7347 GB, free: 4.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.5076, allocations: 8 kB / 0.7347 GB, free: 4.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.508, allocations: 223 kB / 0.7349 GB, free: 4.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.5082, allocations: 0.6926 MB / 0.7356 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.5082, allocations: 4 kB / 0.7356 GB, free: 3.914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.5082, allocations: 11.44 kB / 0.7356 GB, free: 3.906 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.5083, allocations: 0 / 0.7356 GB, free: 3.906 MB / 0.545 GB Notification: Performance of Templates: time 0.003764/0.512, allocations: 1.378 MB / 0.737 GB, free: 2.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) Environment - environmentSimulation: