Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 103 kB / 16.35 MB, free: 6.348 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.001486/0.001486, allocations: 195.1 kB / 17.29 MB, free: 5.93 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001404/0.001404, allocations: 71.03 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2331, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.003115/0.2363, allocations: 1.476 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.2377, allocations: 0.7759 MB / 0.787 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.2378, allocations: 0 / 0.787 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.2378, allocations: 7.938 kB / 0.787 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.399e-05/0.2379, allocations: 11.86 kB / 0.787 GB, free: 0.9219 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.0005679/0.2385, allocations: 127.6 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.2386, allocations: 75.77 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2387, allocations: 12 kB / 0.7872 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.846e-05/0.2388, allocations: 39.83 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.692e-05/0.2389, allocations: 35.84 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2389, allocations: 8 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2391, allocations: 91.91 kB / 0.7874 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.2392, allocations: 15.98 kB / 0.7874 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.2392, allocations: 35.84 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.2395, allocations: 147.5 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2395, allocations: 0 / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2395, allocations: 0 / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.2395, allocations: 0 / 0.7875 GB, free: 352 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.4592/0.6987, allocations: 414.8 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.6988, allocations: 9.531 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.6989, allocations: 8.594 kB / 0.788 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.699, allocations: 173.7 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.699, allocations: 4.531 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.699, allocations: 4.25 kB / 0.7881 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.6993, allocations: 75.03 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.6993, allocations: 0 / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.6993, allocations: 6.531 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6993, allocations: 0 / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.6994, allocations: 35.73 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.7, allocations: 323.3 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.7002, allocations: 56.22 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.7002, allocations: 30.84 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.7003, allocations: 6.609 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/0.7005, allocations: 76.73 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7005, allocations: 0 / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003741/0.7009, allocations: 134.7 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.7009, allocations: 52.22 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.701, allocations: 127 kB / 0.789 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.701, allocations: 30.83 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.7011, allocations: 89.25 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.7011, allocations: 17.94 kB / 0.7891 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.7011, allocations: 30.61 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.7012, allocations: 327.8 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.7013, allocations: 24.41 kB / 0.7895 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.562e-05/0.7014, allocations: 47.16 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7015, allocations: 74.89 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7015, allocations: 0 / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002009/0.7017, allocations: 118.8 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7018, allocations: 7.875 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.7018, allocations: 1.797 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7018, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.605e-05/0.7019, allocations: 19.03 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7019, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.702, allocations: 10.28 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.702, allocations: 5.625 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 7.26e-05/0.7021, allocations: 119.5 kB / 0.7899 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.7021, allocations: 11.97 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.7021, allocations: 13.83 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.7021, allocations: 4.125 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7022, allocations: 0 / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.7022, allocations: 0 / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.7025, allocations: 379.6 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7025, allocations: 1.281 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.7026, allocations: 8.453 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7026, allocations: 2.375 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.7026, allocations: 0.625 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.7026, allocations: 0 / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7026, allocations: 2.594 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.7029, allocations: 219.2 kB / 0.7905 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.7029, allocations: 82.05 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.7029, allocations: 2.875 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.703, allocations: 9.969 kB / 0.7906 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.7031, allocations: 10.45 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.7031, allocations: 3.094 kB / 0.7906 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.7031, allocations: 97.66 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7031, allocations: 4.453 kB / 0.7907 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003156/0.7035, allocations: 32.84 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.0003828/0.7039, allocations: 162.6 kB / 0.7909 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.7041, allocations: 70.28 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7041, allocations: 0 / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.7042, allocations: 44 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.000257/0.7045, allocations: 7.5 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.0003809/0.7049, allocations: 182 kB / 0.7912 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.705, allocations: 0.685 MB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.705, allocations: 8.688 kB / 0.7919 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.7051, allocations: 12.69 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of SimCode: time 1.072e-06/0.7051, allocations: 1.781 kB / 0.7919 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.004131/0.7092, allocations: 1.459 MB / 0.7933 GB, free: 45.8 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)