Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.704/1.704, allocations: 297.8 MB / 313.7 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 180.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.2 MB / 0.6626 GB, free: 4.301 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008334/0.0008332, allocations: 93.92 kB / 0.7808 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004092/0.0004093, allocations: 16 kB / 0.9088 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7035, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.8782, allocations: 143.2 MB / 1.166 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.8785, allocations: 87.94 kB / 1.166 GB, free: 0.6836 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 FrontEnd - DAE generated: time 0.009218/0.8877, allocations: 3.047 MB / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8877, allocations: 0 / 1.169 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.8878, allocations: 0 / 1.169 GB, free: 14.52 MB / 0.7448 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.0005232/0.8883, allocations: 419.6 kB / 1.17 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.8883, allocations: 12.75 kB / 1.17 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.8884, allocations: 10.05 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.8885, allocations: 179 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.8885, allocations: 6.484 kB / 1.17 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.8885, allocations: 4.938 kB / 1.17 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.8887, allocations: 73.75 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.8887, allocations: 192 / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.8888, allocations: 4.812 kB / 1.17 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.8888, allocations: 4 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.8889, allocations: 39.36 kB / 1.17 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.8895, allocations: 325.8 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.8896, allocations: 56.77 kB / 1.17 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.8897, allocations: 35.36 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.8897, allocations: 1.625 kB / 1.17 GB, free: 13.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.8899, allocations: 79.09 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.8899, allocations: 0 / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003892/0.8903, allocations: 148.1 kB / 1.171 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.8904, allocations: 53.41 kB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.8905, allocations: 129.2 kB / 1.171 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.8905, allocations: 30.36 kB / 1.171 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.8905, allocations: 94.47 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.8906, allocations: 17.12 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.8906, allocations: 0.8125 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.8907, allocations: 321.8 kB / 1.171 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.033e-05/0.8908, allocations: 34.8 kB / 1.171 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.8909, allocations: 50.61 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.891, allocations: 80.81 kB / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.891, allocations: 0 / 1.171 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002247/0.8913, allocations: 115.7 kB / 1.171 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.8913, allocations: 4.656 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8913, allocations: 5.625 kB / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8913, allocations: 0 / 1.171 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.879e-05/0.8914, allocations: 15.94 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.8914, allocations: 8.547 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.956e-05/0.8915, allocations: 6.812 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.8915, allocations: 4.609 kB / 1.171 GB, free: 12.14 MB / 0.7448 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,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.186e-05/0.8916, allocations: 124.2 kB / 1.172 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.8916, allocations: 8.422 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.8917, allocations: 10.62 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.8917, allocations: 0.5938 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8917, allocations: 1.812 kB / 1.172 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8917, allocations: 7.094 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.8921, allocations: 387.4 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8922, allocations: 0 / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.8922, allocations: 6.625 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8922, allocations: 0.9844 kB / 1.172 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.8922, allocations: 7 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8922, allocations: 4.938 kB / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8922, allocations: 0 / 1.172 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8925, allocations: 224.5 kB / 1.172 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.8925, allocations: 81.77 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.8926, allocations: 4.672 kB / 1.172 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.8927, allocations: 9.344 kB / 1.172 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.8927, allocations: 10.61 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.8927, allocations: 6.266 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.8928, allocations: 92.38 kB / 1.172 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8928, allocations: 0 / 1.172 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003138/0.8931, allocations: 45.88 kB / 1.172 GB, free: 11.11 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003619/0.8935, allocations: 180.3 kB / 1.173 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002214/0.8937, allocations: 78.53 kB / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8937, allocations: 0 / 1.173 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.8938, allocations: 37.88 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.8941, allocations: 5.312 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.8945, allocations: 215.3 kB / 1.173 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.8947, allocations: 0.691 MB / 1.174 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.8947, allocations: 5.875 kB / 1.174 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.8948, allocations: 12 kB / 1.174 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8948, allocations: 0 / 1.174 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of Templates: time 0.004001/0.8988, allocations: 1.503 MB / 1.175 GB, free: 9.098 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)