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.001061/0.001061, allocations: 109.6 kB / 16.37 MB, free: 6.012 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.00119/0.00119, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.13 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001478/0.001478, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2549, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU): time 0.002892/0.2578, allocations: 1.48 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.2592, allocations: 0.7761 MB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.2593, allocations: 0 / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.2593, allocations: 3.938 kB / 0.787 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.2594, allocations: 7.875 kB / 0.787 GB, free: 0.875 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.0005906/0.26, allocations: 127.5 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2601, allocations: 83.75 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.2602, allocations: 8 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.297e-05/0.2603, allocations: 39.84 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.864e-05/0.2604, allocations: 43.83 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2604, allocations: 4 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.2606, allocations: 91.91 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.815e-05/0.2606, allocations: 11.98 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.2607, allocations: 31.86 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.2609, allocations: 147.5 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2609, allocations: 0 / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.261, allocations: 4 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.261, allocations: 0 / 0.7876 GB, free: 300 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.3934/0.6543, allocations: 421.2 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6544, allocations: 10.25 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.6545, allocations: 8.25 kB / 0.788 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.6546, allocations: 171 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.6546, allocations: 4.344 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.6546, allocations: 10.45 kB / 0.7882 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.6548, allocations: 67.31 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6548, allocations: 1 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.6549, allocations: 6.625 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.6549, allocations: 2.688 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.655, allocations: 36.88 kB / 0.7883 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.6555, allocations: 316.3 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6557, allocations: 53.91 kB / 0.7886 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.6557, allocations: 34.42 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.6558, allocations: 3.141 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.656, allocations: 77.92 kB / 0.7887 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.656, allocations: 0 / 0.7887 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003562/0.6563, allocations: 144.7 kB / 0.7889 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.6564, allocations: 53.44 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.427e-05/0.6565, allocations: 127.5 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.6565, allocations: 28.52 kB / 0.7891 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.6565, allocations: 88.02 kB / 0.7892 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.6565, allocations: 11.69 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.6566, allocations: 31.72 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.6566, allocations: 324.9 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.6567, allocations: 27.45 kB / 0.7895 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.6568, allocations: 49.58 kB / 0.7896 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.6569, allocations: 71.66 kB / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.657, allocations: 2.625 kB / 0.7897 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001962/0.6572, allocations: 113.1 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6572, allocations: 6.031 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6572, allocations: 0 / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.6572, allocations: 0 / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.196e-05/0.6573, allocations: 19.83 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6573, allocations: 3.906 kB / 0.7898 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.6574, allocations: 10.69 kB / 0.7898 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.6574, allocations: 4.781 kB / 0.7898 GB, free: 47.45 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.612e-05/0.6575, allocations: 123 kB / 0.7899 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.6575, allocations: 9.547 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.6575, allocations: 12.16 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6575, allocations: 0 / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.6576, allocations: 0.625 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6576, allocations: 1.844 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.6579, allocations: 379.5 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6579, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.658, allocations: 6.5 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.658, allocations: 0 / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.658, allocations: 3.703 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.658, allocations: 2.625 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.658, allocations: 0.5625 kB / 0.7903 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.6582, allocations: 221.8 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.6583, allocations: 83.14 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6583, allocations: 3.719 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.6584, allocations: 7 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.6584, allocations: 15.77 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.6585, allocations: 6.219 kB / 0.7906 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.6585, allocations: 93.36 kB / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6585, allocations: 0.625 kB / 0.7907 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002956/0.6588, allocations: 34.78 kB / 0.7908 GB, free: 46.72 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.0003139/0.6591, allocations: 162.3 kB / 0.7909 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.6594, allocations: 72.59 kB / 0.791 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6594, allocations: 0.75 kB / 0.791 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.6595, allocations: 40.39 kB / 0.791 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.6597, allocations: 7.438 kB / 0.791 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.6601, allocations: 214.9 kB / 0.7912 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.6603, allocations: 0.6867 MB / 0.7919 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.6603, allocations: 10.03 kB / 0.7919 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6603, allocations: 1.219 kB / 0.7919 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of Templates: time 0.003238/0.6636, allocations: 1.628 MB / 0.7935 GB, free: 45.68 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)