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.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001464/0.001464, allocations: 188.4 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.55 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.335, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002611/0.3376, allocations: 1.546 MB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3388, allocations: 0.7245 MB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.3389, allocations: 4 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.3389, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.339, allocations: 15.86 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.3395, allocations: 111.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.266e-05/0.3396, allocations: 67.84 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.3397, allocations: 15.97 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.44e-05/0.3398, allocations: 39.83 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.497e-05/0.3399, allocations: 35.84 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.3399, allocations: 8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.3401, allocations: 99.91 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.3402, allocations: 19.91 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.3402, allocations: 31.86 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3404, allocations: 143.8 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3404, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3405, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.3405, allocations: 0 / 1.07 GB, free: 7.953 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.0006152/0.3411, allocations: 417 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3411, allocations: 12.03 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.3412, allocations: 8.844 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3413, allocations: 172.2 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3413, allocations: 12.36 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3414, allocations: 4.375 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3416, allocations: 69.95 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3416, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.3416, allocations: 7.938 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3416, allocations: 0 / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.3418, allocations: 43.91 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.3424, allocations: 304.8 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3425, allocations: 54.5 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.559e-05/0.3426, allocations: 36.97 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3426, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.3428, allocations: 75.31 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.3428, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004018/0.3432, allocations: 145.6 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.3433, allocations: 55.41 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.3434, allocations: 121.8 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.3434, allocations: 33.7 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.3435, allocations: 88.12 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.3435, allocations: 19.75 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.3436, allocations: 25.7 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.3437, allocations: 326.8 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.207e-05/0.3438, allocations: 27.92 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.3439, allocations: 50.56 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3441, allocations: 66.86 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3441, allocations: 4 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002354/0.3443, allocations: 121.5 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3444, allocations: 8 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3444, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3444, allocations: 0 / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3445, allocations: 19.86 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3445, allocations: 4 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.3446, allocations: 4 kB / 1.073 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3446, allocations: 4 kB / 1.073 GB, free: 5.406 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.983e-05/0.3447, allocations: 129.8 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3447, allocations: 7.906 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.3448, allocations: 4.375 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3448, allocations: 4 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3448, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3448, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.3453, allocations: 386.4 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3453, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.3453, allocations: 7.984 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3454, allocations: 4 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3454, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3454, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3454, allocations: 3.938 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.3457, allocations: 219.3 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.3458, allocations: 81.02 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.3458, allocations: 4 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.3459, allocations: 4 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.346, allocations: 15.86 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.346, allocations: 3.984 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.346, allocations: 99.92 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3461, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002873/0.3463, allocations: 36 kB / 1.074 GB, free: 4.316 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.000321/0.3467, allocations: 163.4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3469, allocations: 67.91 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3469, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.347, allocations: 43.91 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3473, allocations: 4 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004354/0.3477, allocations: 205.5 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.348, allocations: 0.6846 MB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.3481, allocations: 11.98 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.3481, allocations: 11.44 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3481, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.004361/0.3525, allocations: 1.42 MB / 1.076 GB, free: 1.668 MB / 0.8262 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)