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.001137/0.001137, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001112/0.001112, allocations: 194.4 kB / 16.26 MB, free: 6.633 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.581/1.581, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.556/1.556, allocations: 251.6 MB / 0.5089 GB, free: 3.273 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.001335/0.001335, allocations: 63.91 kB / 0.6217 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.6007, allocations: 104.7 MB / 0.724 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002915/0.6037, allocations: 1.538 MB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.605, allocations: 0.7679 MB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.605, allocations: 4 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.6051, allocations: 11.92 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.6052, allocations: 3.938 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 NFTyping.typeClassSections: time 0.0005505/0.6057, allocations: 115.8 kB / 0.7264 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6058, allocations: 83.69 kB / 0.7265 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.606, allocations: 8 kB / 0.7265 GB, free: 10.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.062e-05/0.606, allocations: 31.92 kB / 0.7265 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.6061, allocations: 43.81 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.6061, allocations: 8 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.6063, allocations: 99.84 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.6064, allocations: 15.92 kB / 0.7267 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.6064, allocations: 31.86 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.6067, allocations: 137.6 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6067, allocations: 0 / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6067, allocations: 0 / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.6067, allocations: 0 / 0.7268 GB, free: 10.13 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.0006462/0.6073, allocations: 428.8 kB / 0.7272 GB, free: 9.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6074, allocations: 12.03 kB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.6074, allocations: 4.844 kB / 0.7272 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.6076, allocations: 172.3 kB / 0.7274 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.6076, allocations: 4.375 kB / 0.7274 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.6076, allocations: 8.375 kB / 0.7274 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.6078, allocations: 73.91 kB / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.6078, allocations: 0 / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6078, allocations: 0 / 0.7275 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.6078, allocations: 3.984 kB / 0.7275 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.608, allocations: 35.98 kB / 0.7275 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.6085, allocations: 316.7 kB / 0.7278 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6087, allocations: 50.5 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/0.6087, allocations: 36.97 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.6088, allocations: 0 / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.6089, allocations: 79.44 kB / 0.728 GB, free: 8.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/0.6089, allocations: 0 / 0.728 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003964/0.6093, allocations: 137.5 kB / 0.7281 GB, free: 8.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.6094, allocations: 71.28 kB / 0.7282 GB, free: 8.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.6095, allocations: 117.8 kB / 0.7283 GB, free: 8.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.6095, allocations: 29.7 kB / 0.7283 GB, free: 8.375 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.6096, allocations: 84.14 kB / 0.7284 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.6097, allocations: 23.73 kB / 0.7284 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.6097, allocations: 29.7 kB / 0.7285 GB, free: 8.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6099, allocations: 322.8 kB / 0.7288 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/0.61, allocations: 23.98 kB / 0.7288 GB, free: 7.883 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.6101, allocations: 50.98 kB / 0.7288 GB, free: 7.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.6102, allocations: 78.47 kB / 0.7289 GB, free: 7.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6102, allocations: 0 / 0.7289 GB, free: 7.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002169/0.6105, allocations: 117.5 kB / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6105, allocations: 7.984 kB / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6105, allocations: 400 / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.6105, allocations: 0 / 0.729 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.6106, allocations: 15.98 kB / 0.729 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6106, allocations: 0 / 0.729 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.659e-05/0.6107, allocations: 15.89 kB / 0.7291 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.6107, allocations: 4 kB / 0.7291 GB, free: 7.574 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 0.0001144/0.6108, allocations: 125.8 kB / 0.7292 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.588e-05/0.6109, allocations: 4 kB / 0.7292 GB, free: 7.438 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.6109, allocations: 12.36 kB / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6109, allocations: 0 / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6109, allocations: 0 / 0.7292 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6109, allocations: 7.938 kB / 0.7292 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.6114, allocations: 382.4 kB / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6114, allocations: 4 kB / 0.7296 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.82e-05/0.6114, allocations: 7.938 kB / 0.7296 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6114, allocations: 0 / 0.7296 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.6115, allocations: 7.984 kB / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.6115, allocations: 0 / 0.7296 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6115, allocations: 3.938 kB / 0.7296 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.6117, allocations: 199.5 kB / 0.7298 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.195e-05/0.6118, allocations: 85.02 kB / 0.7299 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.6118, allocations: 7.984 kB / 0.7299 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/0.6119, allocations: 4 kB / 0.7299 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.612, allocations: 7.938 kB / 0.7299 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.612, allocations: 7.984 kB / 0.7299 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.437e-05/0.612, allocations: 95.42 kB / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.612, allocations: 0 / 0.73 GB, free: 6.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000286/0.6123, allocations: 39.94 kB / 0.73 GB, free: 6.492 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.0003297/0.6127, allocations: 159.5 kB / 0.7302 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.6129, allocations: 75.89 kB / 0.7302 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6129, allocations: 0 / 0.7302 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/0.613, allocations: 35.97 kB / 0.7303 GB, free: 6.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.6133, allocations: 16.11 kB / 0.7303 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.6137, allocations: 205.5 kB / 0.7305 GB, free: 5.984 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.6139, allocations: 0.6923 MB / 0.7312 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.614, allocations: 11.98 kB / 0.7312 GB, free: 5.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.614, allocations: 11.38 kB / 0.7312 GB, free: 5.246 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.614, allocations: 4 kB / 0.7312 GB, free: 5.242 MB / 0.545 GB Notification: Performance of Templates: time 0.003958/0.618, allocations: 1.409 MB / 0.7326 GB, free: 3.871 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (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)