Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001373/0.001373, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001038/0.001038, allocations: 198.3 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.03 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00292/0.2484, allocations: 1.477 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2497, allocations: 0.776 MB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.2498, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.2498, allocations: 7.938 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.945e-05/0.2499, allocations: 11.86 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.2505, allocations: 119.6 kB / 0.7871 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.2506, allocations: 67.83 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.2507, allocations: 15.98 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.2508, allocations: 39.78 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.2509, allocations: 39.89 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2509, allocations: 8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2511, allocations: 91.91 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.2512, allocations: 19.92 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.2512, allocations: 31.86 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.2515, allocations: 143.5 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2515, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.557e-06/0.2515, allocations: 3.984 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2515, allocations: 0 / 0.7876 GB, free: 312 kB / 0.6544 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.4468/0.6984, allocations: 410.6 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.6985, allocations: 9.375 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.6985, allocations: 12.44 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.6986, allocations: 174.1 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6986, allocations: 6.891 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.6987, allocations: 4.812 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.6989, allocations: 75.28 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.6989, allocations: 2.625 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.6989, allocations: 6.5 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6989, allocations: 0 / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.6991, allocations: 38.64 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.6997, allocations: 318 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.6998, allocations: 50.56 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.6999, allocations: 35.86 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.6999, allocations: 1.25 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.7001, allocations: 78.03 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.7001, allocations: 0.5625 kB / 0.7887 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003557/0.7005, allocations: 136 kB / 0.7889 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.7005, allocations: 61.06 kB / 0.7889 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.779e-05/0.7006, allocations: 121.3 kB / 0.789 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.7006, allocations: 30.88 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.7006, allocations: 88.27 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.7007, allocations: 15.77 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.7007, allocations: 29.25 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.7008, allocations: 323 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.7008, allocations: 28.8 kB / 0.7895 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.7009, allocations: 55.52 kB / 0.7896 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.701, allocations: 73.31 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.7011, allocations: 1.781 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001939/0.7013, allocations: 114.3 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7013, allocations: 5.469 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7013, allocations: 9.344 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7013, allocations: 0 / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.7014, allocations: 14.36 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7014, allocations: 2.75 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.7015, allocations: 10.45 kB / 0.7898 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.7015, allocations: 2.688 kB / 0.7898 GB, free: 47.53 MB / 0.6544 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 6.037e-05/0.7016, allocations: 123.9 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.7016, allocations: 9.891 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.7016, allocations: 9.875 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.7016, allocations: 1.375 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7016, allocations: 2.812 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7016, allocations: 3.828 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.702, allocations: 379.3 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.702, allocations: 0.7188 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.702, allocations: 5.484 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.702, allocations: 2.5 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.702, allocations: 2.844 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7021, allocations: 0 / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7021, allocations: 5.031 kB / 0.7903 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.7023, allocations: 214.1 kB / 0.7905 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.7023, allocations: 84.23 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.7023, allocations: 0 / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.7024, allocations: 10.8 kB / 0.7906 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.7025, allocations: 9.156 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7025, allocations: 2.562 kB / 0.7906 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.7025, allocations: 93.06 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7025, allocations: 0.5938 kB / 0.7907 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003064/0.7028, allocations: 40.67 kB / 0.7908 GB, free: 46.8 MB / 0.6544 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.0002924/0.7031, allocations: 169.5 kB / 0.7909 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.7034, allocations: 71.8 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7034, allocations: 1.031 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.7035, allocations: 41.8 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.7037, allocations: 10.5 kB / 0.791 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.7041, allocations: 180.2 kB / 0.7912 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.7042, allocations: 0.6884 MB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.7042, allocations: 3.844 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.7043, allocations: 12.31 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.7043, allocations: 3.438 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003685/0.708, allocations: 1.449 MB / 0.7933 GB, free: 45.82 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)