Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001097/0.001097, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.00129/0.00129, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.136/3.136, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.62 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3612, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002582/0.3638, allocations: 1.523 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3649, allocations: 0.7284 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.365, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.365, allocations: 7.875 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.434e-05/0.3651, allocations: 11.91 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.3656, allocations: 107.8 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.3658, allocations: 79.78 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.3658, allocations: 11.97 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.3659, allocations: 39.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.75e-05/0.366, allocations: 35.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.366, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3662, allocations: 99.83 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.3663, allocations: 19.92 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.732e-05/0.3663, allocations: 35.84 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3665, allocations: 139.9 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3666, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3666, allocations: 0 / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.3666, allocations: 0 / 1.07 GB, free: 7.902 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.0005924/0.3672, allocations: 413 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3672, allocations: 8.031 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3673, allocations: 8.844 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3674, allocations: 180.2 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.3674, allocations: 16.25 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3674, allocations: 4.375 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.3676, allocations: 81.95 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.3676, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3677, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3677, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3678, allocations: 35.97 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3684, allocations: 320.8 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3685, allocations: 50.48 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.3686, allocations: 32.97 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3686, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.3688, allocations: 79.38 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.3688, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003954/0.3692, allocations: 145.5 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3693, allocations: 55.41 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.3694, allocations: 125.7 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3694, allocations: 29.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.3695, allocations: 92.14 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.963e-05/0.3695, allocations: 15.75 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.682e-05/0.3696, allocations: 25.7 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3697, allocations: 326.8 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.3698, allocations: 27.98 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.3699, allocations: 46.55 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.37, allocations: 78.44 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.37, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.3703, allocations: 117.4 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3703, allocations: 4 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3703, allocations: 0 / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.3703, allocations: 4.062 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.3704, allocations: 15.98 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3704, allocations: 0 / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-05/0.3705, allocations: 7.984 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.3705, allocations: 4 kB / 1.073 GB, free: 5.352 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 9.314e-05/0.3706, allocations: 125.7 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.3707, allocations: 7.906 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.3707, allocations: 4.375 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3707, allocations: 8 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3707, allocations: 0 / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3707, allocations: 3.984 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.3711, allocations: 382.4 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3712, allocations: 3.984 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.3712, allocations: 4 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3712, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3712, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3712, allocations: 0 / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3712, allocations: 11.94 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.3715, allocations: 211.9 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3716, allocations: 85.02 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3716, allocations: 4 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.3717, allocations: 7.984 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.3717, allocations: 3.938 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3718, allocations: 12 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.3718, allocations: 95.2 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3718, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000291/0.3721, allocations: 39.98 kB / 1.074 GB, free: 4.262 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.0003232/0.3725, allocations: 164.7 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3727, allocations: 79.89 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3727, allocations: 0 / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-05/0.3728, allocations: 31.98 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3731, allocations: 8 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.3735, allocations: 208.9 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3737, allocations: 0.694 MB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.3738, allocations: 4 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.3738, allocations: 11.44 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3738, allocations: 0 / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.003793/0.3776, allocations: 1.409 MB / 1.076 GB, free: 1.617 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)