Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.01159/0.01159, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.002378/0.002378, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.669/1.669, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 251.7 MB / 0.5094 GB, free: 424 kB / 430.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.001455/0.001455, allocations: 67.91 kB / 0.7257 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6046, allocations: 104.7 MB / 0.828 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002991/0.6077, allocations: 1.481 MB / 0.8295 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.6091, allocations: 0.7818 MB / 0.8302 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.6092, allocations: 0 / 0.8302 GB, free: 296 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.6092, allocations: 7.922 kB / 0.8302 GB, free: 288 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.478e-05/0.6093, allocations: 7.875 kB / 0.8302 GB, free: 280 kB / 0.6231 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.000629/0.6099, allocations: 127.6 kB / 0.8304 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.6101, allocations: 79.77 kB / 0.8304 GB, free: 72 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.6102, allocations: 11.98 kB / 0.8304 GB, free: 60 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.6103, allocations: 31.92 kB / 0.8305 GB, free: 28 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.6104, allocations: 39.91 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.6104, allocations: 8 kB / 0.8305 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.6106, allocations: 99.75 kB / 0.8306 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.6106, allocations: 15.92 kB / 0.8306 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.6107, allocations: 27.86 kB / 0.8307 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.611, allocations: 151.2 kB / 0.8308 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.611, allocations: 3.938 kB / 0.8308 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.611, allocations: 0 / 0.8308 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.611, allocations: 0 / 0.8308 GB, free: 15.69 MB / 0.6387 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.0006742/0.6117, allocations: 419.2 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6117, allocations: 8.031 kB / 0.8312 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.6118, allocations: 8.844 kB / 0.8312 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.612, allocations: 176.2 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.612, allocations: 8.375 kB / 0.8314 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.612, allocations: 12.31 kB / 0.8314 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.6122, allocations: 69.95 kB / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.6123, allocations: 4 kB / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6123, allocations: 0 / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.6123, allocations: 0 / 0.8315 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.6125, allocations: 43.89 kB / 0.8315 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.6132, allocations: 316.8 kB / 0.8318 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6134, allocations: 46.56 kB / 0.8319 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.6135, allocations: 32.97 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.6136, allocations: 8.062 kB / 0.8319 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.6138, allocations: 79.31 kB / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.6138, allocations: 0 / 0.832 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7): time 0.0004797/0.6143, allocations: 137.5 kB / 0.8321 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.6144, allocations: 55.41 kB / 0.8322 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.6145, allocations: 117.8 kB / 0.8323 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.6145, allocations: 29.7 kB / 0.8323 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.6146, allocations: 88.14 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.6146, allocations: 27.72 kB / 0.8324 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.6147, allocations: 29.7 kB / 0.8324 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.6149, allocations: 322.8 kB / 0.8328 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/0.615, allocations: 23.98 kB / 0.8328 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6151, allocations: 58.42 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6153, allocations: 70.55 kB / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6153, allocations: 4 kB / 0.8329 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.6155, allocations: 101.5 kB / 0.833 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.6156, allocations: 8 kB / 0.833 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6156, allocations: 3.984 kB / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6156, allocations: 0 / 0.833 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.6157, allocations: 20 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.6157, allocations: 4 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.6158, allocations: 11.89 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.6158, allocations: 4 kB / 0.833 GB, free: 13.14 MB / 0.6387 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 0.0001132/0.616, allocations: 117.8 kB / 0.8332 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.616, allocations: 4 kB / 0.8332 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.616, allocations: 12.36 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.616, allocations: 0 / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6161, allocations: 8 kB / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6161, allocations: 0 / 0.8332 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.6166, allocations: 386.3 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6166, allocations: 4 kB / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.6166, allocations: 0 / 0.8336 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.6166, allocations: 4 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.6167, allocations: 3.938 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6167, allocations: 3.984 kB / 0.8336 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6167, allocations: 7.938 kB / 0.8336 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.617, allocations: 207.8 kB / 0.8338 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.6171, allocations: 81.05 kB / 0.8338 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.6172, allocations: 4 kB / 0.8339 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.6172, allocations: 7.984 kB / 0.8339 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.6173, allocations: 7.938 kB / 0.8339 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.6173, allocations: 3.984 kB / 0.8339 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.6174, allocations: 103.2 kB / 0.834 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6174, allocations: 0 / 0.834 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003172/0.6177, allocations: 36 kB / 0.834 GB, free: 12.06 MB / 0.6387 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.000406/0.6181, allocations: 164 kB / 0.8342 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.6184, allocations: 75.89 kB / 0.8342 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6184, allocations: 0 / 0.8342 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.6186, allocations: 35.97 kB / 0.8343 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6188, allocations: 11.88 kB / 0.8343 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.6193, allocations: 196.9 kB / 0.8345 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.6196, allocations: 0.6963 MB / 0.8351 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.6196, allocations: 0 / 0.8351 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.6197, allocations: 11.44 kB / 0.8352 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of SimCode: time 2.51e-07/0.6197, allocations: 0 / 0.8352 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.004446/0.6241, allocations: 1.457 MB / 0.8366 GB, free: 9.391 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)