Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.248/1.248, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 191.4 kB / 327.6 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 0.5785 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007546/0.0007546, allocations: 96.34 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 14.16 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 106.3 MB / 0.9012 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.3198, allocations: 133.7 MB / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3201, allocations: 83.95 kB / 1.032 GB, free: 10.09 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 FrontEnd - DAE generated: time 0.008697/0.3288, allocations: 3.004 MB / 1.035 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3288, allocations: 0 / 1.035 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3288, allocations: 0 / 1.035 GB, free: 7.082 MB / 0.6823 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.0004948/0.3293, allocations: 432.9 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3294, allocations: 12.03 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.3294, allocations: 4.844 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3295, allocations: 180.2 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3296, allocations: 4.375 kB / 1.035 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.3296, allocations: 8.375 kB / 1.035 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3298, allocations: 70.16 kB / 1.036 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3298, allocations: 4.188 kB / 1.036 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.3298, allocations: 3.938 kB / 1.036 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3298, allocations: 4 kB / 1.036 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.33, allocations: 39.97 kB / 1.036 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.3305, allocations: 316.8 kB / 1.036 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3306, allocations: 54.5 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.651e-05/0.3307, allocations: 36.91 kB / 1.036 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.3308, allocations: 12.05 kB / 1.036 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3309, allocations: 79.38 kB / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.3309, allocations: 0 / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003581/0.3313, allocations: 149.5 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3313, allocations: 55.41 kB / 1.036 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.3314, allocations: 121.8 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3315, allocations: 29.69 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.3315, allocations: 92.05 kB / 1.036 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3315, allocations: 15.89 kB / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.3316, allocations: 4 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.3317, allocations: 318.8 kB / 1.037 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.3317, allocations: 35.98 kB / 1.037 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.3318, allocations: 50.55 kB / 1.037 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.332, allocations: 78.5 kB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.332, allocations: 3.938 kB / 1.037 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002233/0.3322, allocations: 117.5 kB / 1.037 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3322, allocations: 4 kB / 1.037 GB, free: 4.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3323, allocations: 8.062 kB / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3323, allocations: 0 / 1.037 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.3324, allocations: 11.98 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3324, allocations: 4 kB / 1.037 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.3325, allocations: 7.906 kB / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3325, allocations: 11.98 kB / 1.037 GB, free: 4.504 MB / 0.6823 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.54e-05/0.3326, allocations: 127.6 kB / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.3326, allocations: 8 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.3326, allocations: 4.375 kB / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3326, allocations: 0 / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3326, allocations: 0 / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3326, allocations: 0 / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.333, allocations: 394.3 kB / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3331, allocations: 0 / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.3331, allocations: 15.92 kB / 1.038 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3331, allocations: 0 / 1.038 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3331, allocations: 0 / 1.038 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3331, allocations: 7.938 kB / 1.038 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3331, allocations: 0 / 1.038 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.3334, allocations: 219.4 kB / 1.038 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.418e-05/0.3334, allocations: 81.02 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.3335, allocations: 3.984 kB / 1.038 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.3336, allocations: 7.984 kB / 1.038 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3336, allocations: 7.938 kB / 1.038 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3336, allocations: 8 kB / 1.038 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.3337, allocations: 91.27 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3337, allocations: 0 / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000279/0.334, allocations: 51.92 kB / 1.038 GB, free: 3.398 MB / 0.6823 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.0003223/0.3343, allocations: 171.9 kB / 1.038 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002102/0.3345, allocations: 87.94 kB / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3345, allocations: 0 / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3346, allocations: 39.92 kB / 1.038 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3349, allocations: 9.766 kB / 1.038 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003765/0.3353, allocations: 215.1 kB / 1.039 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3355, allocations: 0.6887 MB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.3355, allocations: 4 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.3356, allocations: 11.44 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.3356, allocations: 0 / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of Templates: time 0.003852/0.3394, allocations: 1.515 MB / 1.041 GB, free: 0.6523 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1)