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.001302/0.001302, allocations: 103.8 kB / 16.36 MB, free: 6.309 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.00115/0.00115, allocations: 192.3 kB / 17.29 MB, free: 5.871 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.549/1.549, 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.799/1.799, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001441/0.001442, allocations: 63.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2172, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002689/0.2199, allocations: 1.48 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.2212, allocations: 0.7721 MB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.2212, allocations: 0 / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.2213, allocations: 3.938 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.2213, allocations: 15.84 kB / 0.787 GB, free: 0.8789 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.0005527/0.2219, allocations: 127.6 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.222, allocations: 75.78 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.439e-05/0.2221, allocations: 11.98 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.943e-05/0.2222, allocations: 39.84 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.2223, allocations: 35.84 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.2223, allocations: 8 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.2225, allocations: 99.89 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.2225, allocations: 19.91 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.2226, allocations: 27.86 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.2228, allocations: 147.5 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2228, allocations: 0 / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2228, allocations: 0 / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2228, allocations: 0 / 0.7876 GB, free: 304 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.3325/0.5553, allocations: 414.9 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5554, allocations: 10.23 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.5554, allocations: 9.5 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.003e-05/0.5555, allocations: 171.9 kB / 0.7881 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.5556, allocations: 8.125 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.5556, allocations: 4.734 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.5558, allocations: 68.7 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5558, allocations: 1.219 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.5558, allocations: 3.938 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.5558, allocations: 0 / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.556, allocations: 41.39 kB / 0.7883 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.5565, allocations: 324.8 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5566, allocations: 52.38 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.107e-05/0.5567, allocations: 32.31 kB / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5567, allocations: 0 / 0.7887 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.5569, allocations: 79.8 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.5569, allocations: 0 / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003451/0.5573, allocations: 135.8 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5573, allocations: 58.45 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.5574, allocations: 124 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.5574, allocations: 29.27 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.5574, allocations: 87.23 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.5575, allocations: 19.59 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.5575, allocations: 30.33 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.5576, allocations: 324.9 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.5576, allocations: 23.05 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.59e-05/0.5577, allocations: 49.06 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.5579, allocations: 74.69 kB / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5579, allocations: 0 / 0.7896 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.5581, allocations: 114.4 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5581, allocations: 8.625 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5581, allocations: 4.516 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5581, allocations: 2.625 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.844e-05/0.5582, allocations: 11.22 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5582, allocations: 2.625 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.04e-05/0.5583, allocations: 10.48 kB / 0.7898 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.5583, allocations: 8.672 kB / 0.7898 GB, free: 47.64 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.883e-05/0.5584, allocations: 124.9 kB / 0.7899 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.5584, allocations: 6.531 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.5584, allocations: 5.875 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5585, allocations: 5.812 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.5585, allocations: 0 / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5585, allocations: 4.5 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.5588, allocations: 383.9 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5588, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.5589, allocations: 8.391 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5589, allocations: 0.5 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.5589, allocations: 0 / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5589, allocations: 1.438 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5589, allocations: 2.625 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.5591, allocations: 219.2 kB / 0.7905 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.917e-05/0.5592, allocations: 83.83 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.5592, allocations: 5.625 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.5593, allocations: 3.438 kB / 0.7906 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.5593, allocations: 9.516 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.5593, allocations: 8.969 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.5594, allocations: 92.11 kB / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5594, allocations: 0 / 0.7907 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002935/0.5597, allocations: 38.69 kB / 0.7908 GB, free: 46.91 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.0002856/0.56, allocations: 162.8 kB / 0.7909 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.5602, allocations: 70.72 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5602, allocations: 3.812 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.5603, allocations: 40.98 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.5606, allocations: 7.625 kB / 0.791 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.5609, allocations: 211.2 kB / 0.7912 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.781e-05/0.561, allocations: 0.6874 MB / 0.7919 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.5611, allocations: 15.66 kB / 0.7919 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5611, allocations: 1.125 kB / 0.7919 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.003001/0.5641, allocations: 1.616 MB / 0.7935 GB, free: 45.87 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)