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.001574/0.001574, allocations: 110 kB / 16.37 MB, free: 6.004 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.001637/0.001638, allocations: 193.8 kB / 17.31 MB, free: 5.617 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.791/1.791, allocations: 292.3 MB / 0.5496 GB, free: 17.63 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.002701/0.002701, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.214, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002917/0.217, allocations: 1.487 MB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2184, allocations: 0.7605 MB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.068e-05/0.2185, allocations: 4 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.2185, allocations: 7.922 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.2186, allocations: 15.86 kB / 0.787 GB, free: 0.8906 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.0006296/0.2192, allocations: 127.5 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.2194, allocations: 71.78 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.2195, allocations: 15.98 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.2196, allocations: 39.84 kB / 0.7873 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.2197, allocations: 35.84 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.2197, allocations: 8 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.2199, allocations: 99.83 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.2199, allocations: 19.97 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.22, allocations: 31.86 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.2203, allocations: 143.5 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2203, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2203, allocations: 0 / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2203, allocations: 0 / 0.7876 GB, free: 316 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.3318/0.5521, allocations: 413.8 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5521, allocations: 10.19 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.5522, allocations: 9.062 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.5523, allocations: 172.7 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.5524, allocations: 2.062 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.5524, allocations: 7.25 kB / 0.7882 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.5526, allocations: 70.47 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5526, allocations: 0 / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5526, allocations: 5.188 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.5527, allocations: 2.625 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.5528, allocations: 40.27 kB / 0.7883 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.5533, allocations: 321.2 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.5535, allocations: 50.06 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.5536, allocations: 33.89 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.5536, allocations: 3.844 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.5538, allocations: 80.17 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5538, allocations: 0 / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003588/0.5542, allocations: 129.2 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5542, allocations: 63.77 kB / 0.7889 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.992e-05/0.5543, allocations: 124.7 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.5543, allocations: 29.64 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.5543, allocations: 90.98 kB / 0.7892 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5544, allocations: 19.44 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.5544, allocations: 28.16 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.5545, allocations: 319 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.5546, allocations: 26.48 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.72e-05/0.5546, allocations: 50.11 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5548, allocations: 74.06 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5548, allocations: 0.5625 kB / 0.7897 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001994/0.555, allocations: 118.9 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.555, allocations: 5.25 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.555, allocations: 2.625 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.555, allocations: 3.656 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.5551, allocations: 14.2 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5552, allocations: 4.531 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.5552, allocations: 3.469 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5552, allocations: 5.781 kB / 0.7898 GB, free: 47.5 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.344e-05/0.5553, allocations: 129.7 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.5553, allocations: 9.156 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.5554, allocations: 4.375 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5554, allocations: 5.812 kB / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.5554, allocations: 0 / 0.7899 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5554, allocations: 6.484 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.5557, allocations: 373.8 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5557, allocations: 0 / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.5558, allocations: 13 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5558, allocations: 0.7656 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.5558, allocations: 2.75 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5558, allocations: 3.125 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5558, allocations: 1.156 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.5561, allocations: 222 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.5561, allocations: 87.36 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.5561, allocations: 3.766 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.5562, allocations: 2.625 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.5562, allocations: 12.34 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.5563, allocations: 6.625 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.5563, allocations: 92.89 kB / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5563, allocations: 0 / 0.7907 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003049/0.5566, allocations: 38.44 kB / 0.7908 GB, free: 46.76 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.0003613/0.557, allocations: 162.3 kB / 0.7909 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.5572, allocations: 67.11 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5572, allocations: 2.625 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.5573, allocations: 30.56 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.5576, allocations: 12.7 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.558, allocations: 215.4 kB / 0.7912 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.5582, allocations: 0.6905 MB / 0.7919 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.5582, allocations: 10.12 kB / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5582, allocations: 0 / 0.7919 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Templates: time 0.003113/0.5613, allocations: 1.624 MB / 0.7935 GB, free: 45.73 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)