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.001067/0.001068, allocations: 113.7 kB / 16.38 MB, free: 6.008 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.001104/0.001104, allocations: 187.5 kB / 17.31 MB, free: 5.621 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.293/1.293, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001475/0.001475, allocations: 64.69 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1972, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002428/0.1997, allocations: 1.483 MB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2008, allocations: 0.7722 MB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.33e-05/0.2009, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.2009, allocations: 3.938 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.201, allocations: 11.86 kB / 0.787 GB, free: 0.8789 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.0005249/0.2015, allocations: 127.6 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.2016, allocations: 75.7 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.2017, allocations: 19.94 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.2018, allocations: 31.91 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.2019, allocations: 39.83 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.2019, allocations: 8 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2021, allocations: 95.84 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.2021, allocations: 19.97 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.272e-05/0.2022, allocations: 27.86 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.2024, allocations: 143.5 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2024, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2024, allocations: 0 / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2024, allocations: 4 kB / 0.7876 GB, free: 304 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.2923/0.4947, allocations: 413.5 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4948, allocations: 9.938 kB / 0.788 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.4948, allocations: 8.469 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.009e-05/0.4949, allocations: 176.6 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4949, allocations: 3.406 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.4949, allocations: 5.281 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.4951, allocations: 71.72 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.4951, allocations: 1.281 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4952, allocations: 6.938 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4952, allocations: 0 / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4953, allocations: 40.28 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.4958, allocations: 318.2 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.4959, allocations: 52.14 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.496, allocations: 33.11 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.496, allocations: 0 / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.4962, allocations: 87.06 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.4962, allocations: 0.8438 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003359/0.4965, allocations: 135.8 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.4966, allocations: 57.7 kB / 0.7889 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.4966, allocations: 127.2 kB / 0.7891 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.4967, allocations: 25.7 kB / 0.7891 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.4967, allocations: 94.25 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.4967, allocations: 10.75 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.4968, allocations: 30.84 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.594e-05/0.4968, allocations: 320.5 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.4969, allocations: 29.42 kB / 0.7895 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/0.4969, allocations: 46.64 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.4971, allocations: 78.7 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4971, allocations: 0 / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001975/0.4973, allocations: 110.5 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.4973, allocations: 7.938 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.4973, allocations: 0 / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4974, allocations: 2.625 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.4974, allocations: 16.38 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4975, allocations: 3.141 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.4975, allocations: 6.484 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4975, allocations: 8.891 kB / 0.7898 GB, free: 47.51 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 5.568e-05/0.4976, allocations: 121.8 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.4976, allocations: 10 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.4977, allocations: 7.594 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4977, allocations: 3 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4977, allocations: 2.188 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.4977, allocations: 88.02 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.4977, allocations: 3.141 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.4978, allocations: 7.484 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.4978, allocations: 6.469 kB / 0.79 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002319/0.498, allocations: 197.4 kB / 0.7902 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002205/0.4983, allocations: 277.8 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.764e-05/0.4984, allocations: 38.83 kB / 0.7905 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.833e-05/0.4984, allocations: 96.09 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of Backend: time 7.82e-07/0.4984, allocations: 1 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005772/0.499, allocations: 176.7 kB / 0.7908 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003024/0.4993, allocations: 0.6135 MB / 0.7914 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.003348/0.5027, allocations: 1.504 MB / 0.7929 GB, free: 46.2 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)