Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, 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.001485/0.001485, allocations: 199.2 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.28 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3995, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002784/0.4023, allocations: 1.535 MB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.4035, allocations: 0.74 MB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.4036, allocations: 4 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.4036, allocations: 7.922 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.4037, allocations: 7.922 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.4042, allocations: 99.77 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.857e-05/0.4043, allocations: 71.78 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.4044, allocations: 19.97 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.4045, allocations: 35.84 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.4045, allocations: 31.91 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4045, allocations: 4 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.4047, allocations: 87.84 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.4048, allocations: 19.91 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.4048, allocations: 31.84 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.405, allocations: 147.9 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.405, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4051, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.4051, allocations: 0 / 1.07 GB, free: 8.09 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.0006505/0.4057, allocations: 410.6 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4058, allocations: 8.031 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.4058, allocations: 8.844 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.406, allocations: 184.1 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.406, allocations: 4.375 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.406, allocations: 8.375 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.4062, allocations: 69.97 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4063, allocations: 0 / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.4063, allocations: 4 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4063, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.4064, allocations: 43.95 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000662/0.4071, allocations: 316.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.4073, allocations: 46.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.4074, allocations: 36.95 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4074, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.4076, allocations: 79.38 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4076, allocations: 0 / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004241/0.408, allocations: 145.5 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.4081, allocations: 51.41 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.4083, allocations: 125.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.4083, allocations: 29.7 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.4083, allocations: 88.14 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.4084, allocations: 19.75 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.4084, allocations: 29.7 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4086, allocations: 322.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.4087, allocations: 27.98 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.359e-05/0.4088, allocations: 46.55 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.409, allocations: 78.44 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.409, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000237/0.4092, allocations: 113.5 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4092, allocations: 4 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4092, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4093, allocations: 4 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.4094, allocations: 16.05 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4094, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.801e-05/0.4095, allocations: 4 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.4095, allocations: 8.375 kB / 1.073 GB, free: 5.555 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.0001055/0.4096, allocations: 125.7 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.4096, allocations: 7.906 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.4096, allocations: 8.375 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4097, allocations: 4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4097, allocations: 4 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4097, allocations: 0 / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.4101, allocations: 390.3 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4102, allocations: 0 / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.4102, allocations: 7.984 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4102, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4102, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.4102, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4102, allocations: 7.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.4105, allocations: 211.4 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/0.4106, allocations: 85.02 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.4106, allocations: 0 / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.939e-05/0.4107, allocations: 4 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.4108, allocations: 7.922 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.4108, allocations: 11.94 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.585e-05/0.4108, allocations: 99.2 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4109, allocations: 0 / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002963/0.4112, allocations: 43.92 kB / 1.073 GB, free: 4.453 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.0003566/0.4115, allocations: 153.4 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.4118, allocations: 75.91 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4118, allocations: 0 / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.4119, allocations: 35.97 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.0002656/0.4122, allocations: 12.69 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.0004145/0.4126, allocations: 202.7 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.4129, allocations: 0.6848 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.154e-05/0.413, allocations: 7.984 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.413, allocations: 7.438 kB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.413, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of Templates: time 0.004363/0.4174, allocations: 1.382 MB / 1.076 GB, free: 1.855 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)