Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001263/0.001263, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001274/0.001274, allocations: 191 kB / 17.29 MB, free: 5.516 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.396/1.396, 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.793/1.793, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.00143/0.00143, allocations: 71.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2222, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002628/0.2249, allocations: 1.473 MB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001292/0.2262, allocations: 0.7682 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.2262, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.2263, allocations: 7.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.2263, allocations: 11.86 kB / 0.787 GB, free: 0.8672 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.0005808/0.2269, allocations: 119.6 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.227, allocations: 83.77 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.581e-05/0.2271, allocations: 12 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.2272, allocations: 39.78 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.2273, allocations: 35.89 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.2273, allocations: 8 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2275, allocations: 95.84 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.2276, allocations: 23.91 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.2276, allocations: 27.86 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.2279, allocations: 143.6 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2279, allocations: 0 / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2279, allocations: 0 / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2279, allocations: 0 / 0.7875 GB, free: 296 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.3515/0.5794, allocations: 413.1 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5795, allocations: 12.34 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.5795, allocations: 9.562 kB / 0.788 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.5796, allocations: 175.2 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.5797, allocations: 8.031 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.5797, allocations: 5.25 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.5799, allocations: 70.69 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5799, allocations: 3.938 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5799, allocations: 4.688 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.5799, allocations: 3 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.5801, allocations: 40.33 kB / 0.7883 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.5806, allocations: 315.9 kB / 0.7886 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5807, allocations: 55.59 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.5808, allocations: 30.55 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.5809, allocations: 5.312 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.581, allocations: 81.31 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.5811, allocations: 1.594 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003454/0.5814, allocations: 138.3 kB / 0.7889 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.5814, allocations: 57.81 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.568e-05/0.5815, allocations: 121.6 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.5815, allocations: 30.95 kB / 0.7891 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.5816, allocations: 87.39 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.5816, allocations: 18.78 kB / 0.7892 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.5816, allocations: 27.91 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.5817, allocations: 321.8 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.5818, allocations: 23.09 kB / 0.7895 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.5818, allocations: 52.48 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.582, allocations: 77.75 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.582, allocations: 0 / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001948/0.5822, allocations: 113.5 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.5822, allocations: 5.719 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5822, allocations: 0.5625 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.5822, allocations: 6.625 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.5823, allocations: 12.12 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5824, allocations: 4.219 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.391e-05/0.5824, allocations: 10.45 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5824, allocations: 2.906 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.256e-05/0.5825, allocations: 124 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.5825, allocations: 15.31 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.569e-05/0.5826, allocations: 7.812 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.5826, allocations: 2.719 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5826, allocations: 2.297 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5826, allocations: 0 / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.5829, allocations: 381 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5829, allocations: 2.656 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.583, allocations: 6.156 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.583, allocations: 2.844 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.583, allocations: 0.625 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.583, allocations: 0 / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.583, allocations: 3.062 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.5832, allocations: 212.8 kB / 0.7905 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.5833, allocations: 88.02 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.5833, allocations: 6.562 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.5834, allocations: 2.625 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.5834, allocations: 10.14 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.5834, allocations: 3.047 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.5835, allocations: 98.48 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5835, allocations: 0 / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003017/0.5838, allocations: 36.56 kB / 0.7907 GB, free: 46.77 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.0002691/0.5841, allocations: 164.6 kB / 0.7909 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.5843, allocations: 72.92 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5843, allocations: 0 / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.645e-05/0.5844, allocations: 39.09 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.0002431/0.5846, allocations: 7.828 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.0003262/0.585, allocations: 195.5 kB / 0.7912 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.5851, allocations: 0.684 MB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.5851, allocations: 6.359 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.5851, allocations: 12.34 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.5852, allocations: 0.6562 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.003924/0.5891, allocations: 1.449 MB / 0.7933 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)