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.001287/0.001287, allocations: 102.6 kB / 16.29 MB, free: 6.43 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.001421/0.001421, allocations: 189.4 kB / 17.22 MB, free: 5.926 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.553/1.553, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.32 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.001517/0.001517, allocations: 67.89 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2538, allocations: 114.6 MB / 0.7841 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.00296/0.2568, allocations: 1.469 MB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2584, allocations: 0.7798 MB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.2585, allocations: 0 / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.2585, allocations: 3.938 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.2586, allocations: 7.875 kB / 0.7863 GB, free: 1.527 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.000639/0.2592, allocations: 123.6 kB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.2594, allocations: 87.75 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2595, allocations: 8 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.2596, allocations: 35.86 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.46e-05/0.2597, allocations: 39.88 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.2597, allocations: 7.938 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.2599, allocations: 95.91 kB / 0.7867 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.26, allocations: 11.98 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.26, allocations: 27.86 kB / 0.7867 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.2603, allocations: 151.8 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.2603, allocations: 0 / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.396e-06/0.2603, allocations: 0 / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.2603, allocations: 3.938 kB / 0.7868 GB, free: 0.9453 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.0006977/0.261, allocations: 417 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.261, allocations: 12.03 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.2611, allocations: 4.844 kB / 0.7873 GB, free: 480 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.2613, allocations: 176.2 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2613, allocations: 8.375 kB / 0.7874 GB, free: 256 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.2613, allocations: 4.375 kB / 0.7874 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2615, allocations: 77.91 kB / 0.7875 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2615, allocations: 3.984 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2615, allocations: 3.984 kB / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2616, allocations: 0 / 0.7875 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.2617, allocations: 31.98 kB / 0.7876 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.51/0.7717, allocations: 312.9 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.7719, allocations: 49.5 kB / 0.7879 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.772, allocations: 31.11 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.7721, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.7724, allocations: 86.78 kB / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.7724, allocations: 0 / 0.788 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004056/0.7728, allocations: 140.4 kB / 0.7881 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.7728, allocations: 55.56 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.7729, allocations: 124.2 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.7729, allocations: 29.42 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.773, allocations: 92.73 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.773, allocations: 18.53 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.7731, allocations: 26.56 kB / 0.7885 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.7732, allocations: 322.3 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.7732, allocations: 24.78 kB / 0.7888 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.18e-05/0.7733, allocations: 50.17 kB / 0.7889 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.7735, allocations: 74.53 kB / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7735, allocations: 0 / 0.7889 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002071/0.7737, allocations: 120.5 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7737, allocations: 5.844 kB / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.7737, allocations: 0 / 0.789 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.7738, allocations: 2.625 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.7739, allocations: 14.62 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.7739, allocations: 4.562 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.134e-05/0.7739, allocations: 11.09 kB / 0.7891 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.774, allocations: 2.625 kB / 0.7891 GB, free: 47.88 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 7.724e-05/0.774, allocations: 121.1 kB / 0.7892 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.7741, allocations: 11.06 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.995e-05/0.7741, allocations: 12.09 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7741, allocations: 0.5312 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7741, allocations: 2 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.7741, allocations: 0 / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.7745, allocations: 384.9 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.7745, allocations: 3.438 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.444e-05/0.7746, allocations: 3.25 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7746, allocations: 1.906 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.7746, allocations: 5.188 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.7746, allocations: 6.578 kB / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7746, allocations: 0 / 0.7896 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.7748, allocations: 214 kB / 0.7898 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.7749, allocations: 84.94 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.7749, allocations: 3.047 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.775, allocations: 3.625 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.7751, allocations: 7.469 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.7751, allocations: 3.312 kB / 0.7899 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.7751, allocations: 97.48 kB / 0.79 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7751, allocations: 0 / 0.79 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003069/0.7754, allocations: 40.55 kB / 0.79 GB, free: 47.15 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.0003753/0.7758, allocations: 170.5 kB / 0.7902 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.7761, allocations: 73.77 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7761, allocations: 2.188 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.537e-05/0.7762, allocations: 34.5 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.7764, allocations: 8.562 kB / 0.7903 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.7769, allocations: 186.7 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.777, allocations: 0.687 MB / 0.7912 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.7771, allocations: 8.094 kB / 0.7912 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.7771, allocations: 10.06 kB / 0.7912 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7771, allocations: 0 / 0.7912 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.004661/0.7818, allocations: 1.45 MB / 0.7926 GB, free: 46.18 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)