Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009365/0.0009364, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.00724/0.00724, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 7.906 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 162.2 MB / 1.074 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001778/0.3137, allocations: 1.2 MB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3151, allocations: 0.7129 MB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3152, allocations: 7.938 kB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.3153, allocations: 0 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.888e-05/0.3153, allocations: 23.78 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.316, allocations: 103.8 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.3161, allocations: 63.84 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3162, allocations: 11.98 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3163, allocations: 35.89 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.3164, allocations: 35.84 kB / 1.076 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3164, allocations: 4 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.3167, allocations: 91.84 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.3167, allocations: 15.92 kB / 1.076 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.3168, allocations: 57.55 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003074/0.3171, allocations: 139.9 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3171, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3171, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.3171, allocations: 4 kB / 1.077 GB, free: 4.992 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.0008474/0.318, allocations: 401 kB / 1.077 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.3181, allocations: 15.97 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.3181, allocations: 12.84 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3183, allocations: 168.3 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3184, allocations: 384 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.3184, allocations: 8.375 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3187, allocations: 77.95 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3187, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.3187, allocations: 0 / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3188, allocations: 4 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.3189, allocations: 43.97 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.3198, allocations: 332.5 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.3199, allocations: 46.56 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.32, allocations: 36.97 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.3201, allocations: 4 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3203, allocations: 83.31 kB / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 3.297e-06/0.3203, allocations: 0 / 1.078 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0005009/0.3208, allocations: 145.5 kB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.3209, allocations: 55.39 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.3211, allocations: 121.8 kB / 1.078 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3211, allocations: 25.7 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.3212, allocations: 100.2 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.3212, allocations: 15.75 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3213, allocations: 17.72 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3214, allocations: 322.8 kB / 1.079 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-05/0.3215, allocations: 31.98 kB / 1.079 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.77e-05/0.3216, allocations: 58.48 kB / 1.079 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.3218, allocations: 74.56 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3218, allocations: 3.938 kB / 1.079 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002626/0.3221, allocations: 117.8 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3221, allocations: 8 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3221, allocations: 0 / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3221, allocations: 0 / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3222, allocations: 19.98 kB / 1.079 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3222, allocations: 8.062 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.3223, allocations: 11.89 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3223, allocations: 4 kB / 1.079 GB, free: 2.418 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.0001086/0.3225, allocations: 125.3 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.3225, allocations: 8 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3225, allocations: 4.375 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3225, allocations: 4 kB / 1.079 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3225, allocations: 4 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3225, allocations: 3.984 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.323, allocations: 394.2 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3231, allocations: 4 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.3231, allocations: 4 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.3231, allocations: 0 / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3231, allocations: 4 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3231, allocations: 0 / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3231, allocations: 7.922 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.3234, allocations: 215.4 kB / 1.08 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3235, allocations: 85.02 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3235, allocations: 4 kB / 1.08 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.08e-05/0.3236, allocations: 11.98 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.3237, allocations: 7.938 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3237, allocations: 3.984 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.3238, allocations: 95.28 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3238, allocations: 0 / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003285/0.3241, allocations: 35.98 kB / 1.08 GB, free: 1.32 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.0003647/0.3245, allocations: 159.8 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002526/0.3247, allocations: 79.88 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3247, allocations: 4 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3249, allocations: 40.05 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3252, allocations: 5.312 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3256, allocations: 219 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3258, allocations: 0.6926 MB / 1.081 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.3259, allocations: 4 kB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.3259, allocations: 11.44 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3259, allocations: 0 / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of Templates: time 0.004532/0.3304, allocations: 1.37 MB / 1.082 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)