Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001385/0.001385, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 196.5 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.929/2.929, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 55.39 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3934, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002938/0.3963, allocations: 1.533 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3976, allocations: 0.7439 MB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.3976, allocations: 4 kB / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.3977, allocations: 0 / 1.07 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.344e-05/0.3978, allocations: 11.86 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.3982, allocations: 95.83 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.834e-05/0.3983, allocations: 83.64 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.542e-05/0.3984, allocations: 11.98 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.3985, allocations: 35.91 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3986, allocations: 35.89 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3986, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.3988, allocations: 91.84 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3989, allocations: 15.92 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.3989, allocations: 31.84 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.3991, allocations: 139.9 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3992, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3992, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3992, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 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.00077/0.3999, allocations: 417 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4, allocations: 8.031 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.4, allocations: 12.78 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4002, allocations: 180.2 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.4002, allocations: 384 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.4003, allocations: 4.375 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.4005, allocations: 73.97 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4005, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4005, allocations: 7.984 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.4005, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.4006, allocations: 39.97 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.4013, allocations: 320.7 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.4014, allocations: 46.56 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.578e-05/0.4015, allocations: 32.97 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4016, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.4018, allocations: 79.38 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4018, allocations: 0 / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004187/0.4022, allocations: 141.5 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4023, allocations: 51.41 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4024, allocations: 125.7 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4024, allocations: 29.7 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.4025, allocations: 92.2 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4025, allocations: 19.73 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.4026, allocations: 33.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4027, allocations: 318.8 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.4028, allocations: 27.98 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4029, allocations: 50.92 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4031, allocations: 74.48 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4031, allocations: 4 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002411/0.4033, allocations: 113.8 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4034, allocations: 11.92 kB / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.4034, allocations: 0 / 1.072 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4035, allocations: 4 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.777e-05/0.4036, allocations: 11.94 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4036, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.4037, allocations: 7.984 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.4037, allocations: 12.06 kB / 1.073 GB, free: 5.543 MB / 0.8262 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.584e-05/0.4038, allocations: 117.8 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.4038, allocations: 7.906 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.4039, allocations: 12.36 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4039, allocations: 4 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4039, allocations: 4 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4039, allocations: 0 / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.4045, allocations: 386.3 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4045, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.4046, allocations: 4 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4046, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4046, allocations: 3.984 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4046, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4046, allocations: 3.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.4049, allocations: 211.4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.405, allocations: 85.02 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.405, allocations: 0 / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.366e-05/0.4051, allocations: 7.984 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.4051, allocations: 7.938 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4052, allocations: 7.984 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.4052, allocations: 95.42 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4052, allocations: 3.938 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003132/0.4055, allocations: 36 kB / 1.073 GB, free: 4.461 MB / 0.8262 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.0003508/0.4059, allocations: 157.9 kB / 1.074 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4061, allocations: 79.88 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4062, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.4063, allocations: 36.11 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.4065, allocations: 8.562 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.407, allocations: 194.6 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4073, allocations: 0.6926 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.4073, allocations: 4 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.4073, allocations: 11.44 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.4073, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.003878/0.4112, allocations: 1.38 MB / 1.076 GB, free: 1.863 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)