Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") 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.94 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.0008774/0.0008774, allocations: 175.1 kB / 327.6 MB, free: 2.164 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.312/1.312, allocations: 205.4 MB / 0.5785 GB, free: 20.48 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.0007597/0.0007596, allocations: 92.05 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 11.25 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 106.3 MB / 0.9012 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.3233, allocations: 133.7 MB / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.3236, 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.008398/0.332, allocations: 3.004 MB / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3321, allocations: 0 / 1.035 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.3321, allocations: 4 kB / 1.035 GB, free: 7.07 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.000489/0.3326, allocations: 423.1 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3326, allocations: 8.031 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.3327, allocations: 12.84 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3328, allocations: 172.2 kB / 1.035 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.3328, allocations: 4.375 kB / 1.035 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.3328, allocations: 8.359 kB / 1.035 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.333, allocations: 74.16 kB / 1.036 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.333, allocations: 4.125 kB / 1.036 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.333, allocations: 3.938 kB / 1.036 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.333, allocations: 0 / 1.036 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3332, allocations: 51.97 kB / 1.036 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000541/0.3337, allocations: 312.8 kB / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.3338, allocations: 58.5 kB / 1.036 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.3339, allocations: 36.91 kB / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.334, allocations: 4 kB / 1.036 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.3341, allocations: 79.38 kB / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.3341, allocations: 0 / 1.036 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003548/0.3345, allocations: 149.6 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3345, allocations: 59.39 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.3346, allocations: 125.8 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3347, allocations: 29.7 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.3347, allocations: 92.03 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.3347, allocations: 7.906 kB / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.3347, allocations: 4 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3348, allocations: 326.8 kB / 1.037 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.3349, allocations: 23.98 kB / 1.037 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.238e-05/0.335, allocations: 50.56 kB / 1.037 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.3352, allocations: 78.48 kB / 1.037 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3352, allocations: 3.938 kB / 1.037 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.3354, allocations: 121.5 kB / 1.037 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3355, allocations: 8 kB / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3355, allocations: 0 / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3355, allocations: 0 / 1.037 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.3356, allocations: 15.98 kB / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.3356, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.6e-05/0.3357, allocations: 15.97 kB / 1.037 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.3357, allocations: 4 kB / 1.037 GB, free: 4.508 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.02e-05/0.3358, allocations: 125.7 kB / 1.037 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.3358, allocations: 4 kB / 1.037 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.434e-05/0.3358, allocations: 8.375 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3358, allocations: 4 kB / 1.037 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3358, allocations: 4 kB / 1.037 GB, free: 4.355 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3359, allocations: 4 kB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.3363, allocations: 386.3 kB / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3363, allocations: 0 / 1.038 GB, free: 3.918 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.75e-05/0.3363, allocations: 7.984 kB / 1.038 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3363, allocations: 4 kB / 1.038 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.3363, allocations: 4 kB / 1.038 GB, free: 3.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3363, allocations: 7.938 kB / 1.038 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3364, allocations: 3.938 kB / 1.038 GB, free: 3.891 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.3366, allocations: 215.4 kB / 1.038 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.3367, allocations: 81.02 kB / 1.038 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.3367, allocations: 7.984 kB / 1.038 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/0.3368, allocations: 12 kB / 1.038 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3368, allocations: 7.922 kB / 1.038 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3368, allocations: 4 kB / 1.038 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.3369, allocations: 91.27 kB / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3369, allocations: 0 / 1.038 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002805/0.3372, allocations: 55.92 kB / 1.038 GB, free: 3.391 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.0003333/0.3375, allocations: 170.4 kB / 1.038 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3377, allocations: 71.91 kB / 1.038 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3378, allocations: 0 / 1.038 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.3379, allocations: 48.03 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.0002371/0.3381, allocations: 10.81 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.0003832/0.3385, allocations: 211 kB / 1.039 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3387, allocations: 0.6926 MB / 1.039 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.3388, 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.314e-05/0.3388, allocations: 11.44 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3388, allocations: 0 / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of Templates: time 0.003826/0.3426, allocations: 1.511 MB / 1.041 GB, free: 0.6328 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1)