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.001478/0.001478, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001617/0.001617, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.781/1.781, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001411/0.001412, allocations: 71.89 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2244, allocations: 114.5 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00267/0.2271, allocations: 1.481 MB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001228/0.2283, allocations: 0.7682 MB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.2284, allocations: 0 / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.2284, allocations: 3.938 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.468e-05/0.2285, allocations: 19.84 kB / 0.7862 GB, free: 1.574 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.0005663/0.2291, allocations: 119.6 kB / 0.7864 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.786e-05/0.2292, allocations: 79.77 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.2293, allocations: 16 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.637e-05/0.2294, allocations: 39.83 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.2294, allocations: 31.91 kB / 0.7865 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.2294, allocations: 8 kB / 0.7865 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2296, allocations: 95.84 kB / 0.7866 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2297, allocations: 19.97 kB / 0.7866 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.2297, allocations: 27.86 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.23, allocations: 147.8 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.23, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.23, allocations: 0 / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.23, allocations: 4 kB / 0.7868 GB, free: 0.9961 MB / 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.0005961/0.2306, allocations: 420.9 kB / 0.7872 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2306, allocations: 8.031 kB / 0.7872 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.2307, allocations: 8.844 kB / 0.7872 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2308, allocations: 172.2 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2308, allocations: 384 / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2309, allocations: 8.359 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.231, allocations: 81.95 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2311, allocations: 0 / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2311, allocations: 3.938 kB / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2311, allocations: 0 / 0.7875 GB, free: 216 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.2312, allocations: 43.95 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3554/0.5867, allocations: 301.2 kB / 0.7878 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.5868, allocations: 50.73 kB / 0.7879 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.5869, allocations: 36.53 kB / 0.7879 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.587, allocations: 0.6562 kB / 0.7879 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.5872, allocations: 74.77 kB / 0.788 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.5872, allocations: 0 / 0.788 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003815/0.5876, allocations: 146.8 kB / 0.7881 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.5876, allocations: 57.72 kB / 0.7882 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.5877, allocations: 120.5 kB / 0.7883 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5877, allocations: 33.73 kB / 0.7883 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.5878, allocations: 86.23 kB / 0.7884 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.5878, allocations: 18.58 kB / 0.7884 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.5878, allocations: 29.83 kB / 0.7884 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/0.5879, allocations: 318 kB / 0.7887 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.588, allocations: 27.86 kB / 0.7888 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.588, allocations: 50.61 kB / 0.7888 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.5882, allocations: 71.33 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5882, allocations: 3.656 kB / 0.7889 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002019/0.5884, allocations: 117.6 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5884, allocations: 3.531 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5884, allocations: 6.969 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5885, allocations: 2.469 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5886, allocations: 8.688 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5886, allocations: 9 kB / 0.789 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.5887, allocations: 10.3 kB / 0.789 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5887, allocations: 7.156 kB / 0.789 GB, free: 45.69 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.966e-05/0.5888, allocations: 117.8 kB / 0.7892 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.5888, allocations: 10.03 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.5888, allocations: 7 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5888, allocations: 6.938 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5888, allocations: 0 / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.5888, allocations: 2.984 kB / 0.7892 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.5892, allocations: 392.1 kB / 0.7895 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5892, allocations: 1.5 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.5892, allocations: 2.812 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.5893, allocations: 2.656 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.5893, allocations: 3.328 kB / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5893, allocations: 0 / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5893, allocations: 0 / 0.7896 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.5895, allocations: 212.4 kB / 0.7898 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.5895, allocations: 86.64 kB / 0.7898 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.5896, allocations: 2.656 kB / 0.7898 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.5897, allocations: 6.812 kB / 0.7899 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5897, allocations: 8.672 kB / 0.7899 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.5897, allocations: 1.719 kB / 0.7899 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.081e-05/0.5898, allocations: 96.73 kB / 0.79 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5898, allocations: 0.6562 kB / 0.79 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002969/0.5901, allocations: 36.78 kB / 0.79 GB, free: 44.97 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.0002855/0.5904, allocations: 155.5 kB / 0.7901 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.5906, allocations: 80.67 kB / 0.7902 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5906, allocations: 0 / 0.7902 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.047e-05/0.5907, allocations: 42.53 kB / 0.7903 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.591, allocations: 11.81 kB / 0.7903 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.5913, allocations: 212.4 kB / 0.7905 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.5914, allocations: 0.6863 MB / 0.7911 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.5915, allocations: 16.88 kB / 0.7912 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.5915, allocations: 3.406 kB / 0.7912 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.002932/0.5944, allocations: 1.62 MB / 0.7927 GB, free: 43.93 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)