Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.816/4.816, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002558/0.002557, allocations: 357.2 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.329/4.329, allocations: 410.7 MB / 1.113 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002503/0.002503, allocations: 182.7 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007038/0.0007041, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7908, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.00177/0.7926, allocations: 1.188 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.7941, allocations: 0.7188 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.7942, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.7942, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.7943, allocations: 20.98 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.7948, allocations: 87.7 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.795, allocations: 65.53 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.7951, allocations: 7.984 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.7952, allocations: 38.31 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.7952, allocations: 27.91 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.7953, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.7955, allocations: 87.78 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.7955, allocations: 11.97 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.7956, allocations: 41.64 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.7958, allocations: 90.94 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7958, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7958, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7958, allocations: 0.7812 kB / 1.464 GB, free: 281.9 MB / 0.8542 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.0006148/0.7964, allocations: 413.8 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.7965, allocations: 12.28 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.7965, allocations: 11.42 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.296e-05/0.7966, allocations: 174.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.7967, allocations: 11.92 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.7967, allocations: 7.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.797, allocations: 71.12 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.797, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.797, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.797, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.7973, allocations: 45.72 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.798, allocations: 316 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.7982, allocations: 51.56 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.7983, allocations: 34.55 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.7984, allocations: 5.344 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.7986, allocations: 94.66 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.7986, allocations: 0 / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005564/0.7992, allocations: 149.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.7993, allocations: 61.78 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.128e-05/0.7994, allocations: 121.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.7994, allocations: 29.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.7994, allocations: 88.31 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.7995, allocations: 15.81 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.7995, allocations: 1.562 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.7996, allocations: 322.8 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.7997, allocations: 29.83 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7999, allocations: 47.94 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.8, allocations: 37.31 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.8, allocations: 0.5312 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003482/0.8004, allocations: 120.1 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.8004, allocations: 8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8004, allocations: 3.938 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.8005, allocations: 0.5 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.8006, allocations: 20.45 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8006, allocations: 4.609 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.8008, allocations: 8.938 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.8008, allocations: 7.984 kB / 1.466 GB, free: 279.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.122e-05/0.8009, allocations: 119.2 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.8009, allocations: 9.5 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.801, allocations: 5.719 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.801, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.801, allocations: 4 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/0.801, allocations: 90.55 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.8011, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.8012, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.8013, allocations: 9.641 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004037/0.8017, allocations: 201.9 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003851/0.8021, allocations: 286 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001396/0.8022, allocations: 36.59 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.8023, allocations: 97.72 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 2.044e-06/0.8023, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007918/0.8031, allocations: 182.9 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000451/0.8036, allocations: 0.6529 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.005109/0.8087, allocations: 1.38 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB