Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 195.5 kB / 16.53 MB, free: 6.684 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.528/1.528, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.655/1.655, allocations: 251.7 MB / 0.5092 GB, free: 3.141 MB / 414.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.001758/0.001758, allocations: 75.88 kB / 0.6223 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5212, allocations: 104.7 MB / 0.7245 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002836/0.5241, allocations: 1.488 MB / 0.726 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5255, allocations: 0.7795 MB / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.5256, allocations: 0 / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.5256, allocations: 3.938 kB / 0.7267 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-05/0.5257, allocations: 15.86 kB / 0.7267 GB, free: 10.66 MB / 0.545 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.0006304/0.5263, allocations: 123.6 kB / 0.7269 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.5264, allocations: 83.69 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.5266, allocations: 12 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.5267, allocations: 39.91 kB / 0.727 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.5268, allocations: 39.83 kB / 0.727 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.5269, allocations: 8 kB / 0.727 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.5271, allocations: 91.84 kB / 0.7271 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.273e-05/0.5272, allocations: 15.98 kB / 0.7271 GB, free: 10.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.5272, allocations: 43.73 kB / 0.7272 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.5275, allocations: 133.6 kB / 0.7273 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5275, allocations: 0 / 0.7273 GB, free: 10.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5275, allocations: 0 / 0.7273 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.5275, allocations: 4 kB / 0.7273 GB, free: 10.08 MB / 0.545 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.0007767/0.5283, allocations: 428.8 kB / 0.7277 GB, free: 9.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5284, allocations: 12.03 kB / 0.7277 GB, free: 9.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.5284, allocations: 8.844 kB / 0.7277 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.5285, allocations: 172.3 kB / 0.7279 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.5286, allocations: 4.375 kB / 0.7279 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.5286, allocations: 8.359 kB / 0.7279 GB, free: 9.371 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.5288, allocations: 69.97 kB / 0.728 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.5288, allocations: 4 kB / 0.728 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.5288, allocations: 0 / 0.728 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5288, allocations: 0 / 0.728 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.529, allocations: 39.97 kB / 0.728 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.5296, allocations: 316.6 kB / 0.7283 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.5297, allocations: 50.56 kB / 0.7284 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.5298, allocations: 32.97 kB / 0.7284 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.5298, allocations: 4.062 kB / 0.7284 GB, free: 8.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.53, allocations: 75.38 kB / 0.7285 GB, free: 8.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.53, allocations: 3.938 kB / 0.7285 GB, free: 8.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0003926/0.5304, allocations: 141.5 kB / 0.7286 GB, free: 8.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5305, allocations: 55.41 kB / 0.7287 GB, free: 8.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.5306, allocations: 125.7 kB / 0.7288 GB, free: 8.363 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.5306, allocations: 25.7 kB / 0.7288 GB, free: 8.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/0.5307, allocations: 96.12 kB / 0.7289 GB, free: 8.234 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.5307, allocations: 15.73 kB / 0.7289 GB, free: 8.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.5308, allocations: 29.7 kB / 0.7289 GB, free: 8.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5309, allocations: 330.8 kB / 0.7293 GB, free: 7.852 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.709e-05/0.531, allocations: 23.98 kB / 0.7293 GB, free: 7.828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.5311, allocations: 46.56 kB / 0.7293 GB, free: 7.773 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.5313, allocations: 78.48 kB / 0.7294 GB, free: 7.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5313, allocations: 0 / 0.7294 GB, free: 7.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002168/0.5315, allocations: 109.5 kB / 0.7295 GB, free: 7.574 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5315, allocations: 6.188 kB / 0.7295 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5316, allocations: 0 / 0.7295 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5316, allocations: 4 kB / 0.7295 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5317, allocations: 19.92 kB / 0.7295 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5317, allocations: 0 / 0.7295 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.9e-05/0.5318, allocations: 15.97 kB / 0.7296 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.5318, allocations: 4 kB / 0.7296 GB, free: 7.527 MB / 0.545 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 9.285e-05/0.5319, allocations: 122.7 kB / 0.7297 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.5319, allocations: 7.984 kB / 0.7297 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.532, allocations: 8.375 kB / 0.7297 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.532, allocations: 0 / 0.7297 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.532, allocations: 7.984 kB / 0.7297 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.532, allocations: 0 / 0.7297 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.5325, allocations: 390.7 kB / 0.7301 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5325, allocations: 0 / 0.7301 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.5325, allocations: 7.938 kB / 0.7301 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5325, allocations: 3.984 kB / 0.7301 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5325, allocations: 0 / 0.7301 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5325, allocations: 0 / 0.7301 GB, free: 6.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5326, allocations: 3.938 kB / 0.7301 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.5329, allocations: 215.5 kB / 0.7303 GB, free: 6.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.5329, allocations: 85 kB / 0.7304 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.533, allocations: 4 kB / 0.7304 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.533, allocations: 0 / 0.7304 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.5331, allocations: 11.92 kB / 0.7304 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5331, allocations: 4 kB / 0.7304 GB, free: 6.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.5332, allocations: 91.27 kB / 0.7305 GB, free: 6.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5332, allocations: 0 / 0.7305 GB, free: 6.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002793/0.5335, allocations: 43.94 kB / 0.7305 GB, free: 6.441 MB / 0.545 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.0003384/0.5338, allocations: 160.2 kB / 0.7307 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.5341, allocations: 79.88 kB / 0.7307 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5341, allocations: 4.125 kB / 0.7307 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.5342, allocations: 31.98 kB / 0.7308 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.5344, allocations: 12.55 kB / 0.7308 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.5348, allocations: 184.7 kB / 0.731 GB, free: 5.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5351, allocations: 0.6924 MB / 0.7316 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.5352, allocations: 4 kB / 0.7316 GB, free: 5.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.5352, allocations: 15.42 kB / 0.7317 GB, free: 5.223 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.5352, allocations: 0 / 0.7317 GB, free: 5.223 MB / 0.545 GB Notification: Performance of Templates: time 0.004104/0.5393, allocations: 1.46 MB / 0.7331 GB, free: 3.777 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)