Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001621/0.001621, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.008969/0.008969, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.02/3.02, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 6.906 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.328, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001868/0.3299, allocations: 1.196 MB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3313, allocations: 0.7207 MB / 1.076 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.8e-05/0.3314, allocations: 3.938 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.3314, allocations: 3.938 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.889e-05/0.3315, allocations: 19.84 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.332, allocations: 99.83 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3322, allocations: 75.78 kB / 1.076 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.3323, allocations: 11.97 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.3324, allocations: 23.92 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.236e-05/0.3324, allocations: 39.83 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.3325, allocations: 4 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.3327, allocations: 91.84 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.3327, allocations: 15.92 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.3328, allocations: 53.55 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.333, allocations: 147.9 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.333, allocations: 0 / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.333, allocations: 0 / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3331, allocations: 0 / 1.077 GB, free: 4.98 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.0006312/0.3337, allocations: 401 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3337, allocations: 8.031 kB / 1.077 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.3338, allocations: 8.844 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3339, allocations: 176.2 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.334, allocations: 12.38 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.334, allocations: 4.375 kB / 1.077 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3342, allocations: 69.97 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3342, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3342, allocations: 4 kB / 1.077 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3342, allocations: 4 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.3344, allocations: 43.97 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.335, allocations: 320.6 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3352, allocations: 62.5 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.3353, allocations: 32.97 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.3353, allocations: 3.984 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.3355, allocations: 75.38 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3355, allocations: 4 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004152/0.336, allocations: 157.5 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.336, allocations: 55.41 kB / 1.078 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3361, allocations: 117.8 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3362, allocations: 29.7 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.3362, allocations: 96.19 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3363, allocations: 19.75 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3363, allocations: 21.7 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3364, allocations: 318.8 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.3365, allocations: 27.98 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.3366, allocations: 58.48 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3368, allocations: 78.48 kB / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3368, allocations: 0 / 1.079 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.3371, allocations: 121.5 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3371, allocations: 7.984 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3371, allocations: 0 / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3371, allocations: 4 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.422e-05/0.3372, allocations: 11.94 kB / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3372, allocations: 0 / 1.079 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.745e-05/0.3373, allocations: 19.95 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3374, allocations: 4 kB / 1.079 GB, free: 2.402 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 0.0001032/0.3375, allocations: 121.8 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.3375, allocations: 3.938 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.3375, allocations: 16.36 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3375, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3375, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3375, allocations: 0 / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.338, allocations: 398.2 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.338, allocations: 0 / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.3381, allocations: 4 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3381, allocations: 0 / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3381, allocations: 7.984 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3381, allocations: 4 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3381, allocations: 3.938 kB / 1.079 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.3384, allocations: 215.5 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.3385, allocations: 81.02 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.3385, allocations: 3.984 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.3386, allocations: 4 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.3386, allocations: 15.92 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3387, allocations: 8 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.3387, allocations: 91.92 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3387, allocations: 0 / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003/0.339, allocations: 36 kB / 1.08 GB, free: 1.309 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.0004201/0.3395, allocations: 161.7 kB / 1.08 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.3397, allocations: 87.86 kB / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3397, allocations: 0 / 1.08 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.3398, allocations: 35.98 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3401, allocations: 20.05 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.3406, allocations: 211 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3408, allocations: 0.6899 MB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.3409, allocations: 8 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.3409, allocations: 11.42 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.3409, allocations: 0 / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of Templates: time 0.004055/0.345, allocations: 1.352 MB / 1.082 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)