Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.261/1.261, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009132/0.0009131, allocations: 180.7 kB / 327.6 MB, free: 2.156 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.38/1.38, allocations: 205.4 MB / 0.5785 GB, free: 20.17 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.0006943/0.0006943, allocations: 88.73 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 13.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1463, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.2847, allocations: 133.7 MB / 1.032 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.2849, allocations: 83.95 kB / 1.032 GB, free: 9.684 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.008017/0.293, allocations: 3.004 MB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.983e-06/0.293, allocations: 0 / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.293, allocations: 0 / 1.035 GB, free: 6.672 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.0004434/0.2935, allocations: 432.9 kB / 1.035 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2935, allocations: 8.031 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2935, allocations: 8.844 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2937, allocations: 176.2 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2937, allocations: 4.375 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2937, allocations: 8.375 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2939, allocations: 70.16 kB / 1.036 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2939, allocations: 192 / 1.036 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2939, allocations: 7.938 kB / 1.036 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2939, allocations: 4 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.2941, allocations: 39.97 kB / 1.036 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.2946, allocations: 324.7 kB / 1.036 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2947, allocations: 54.44 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.918e-05/0.2948, allocations: 40.95 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.2948, allocations: 0 / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.295, allocations: 83.38 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.295, allocations: 0 / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000348/0.2954, allocations: 145.5 kB / 1.036 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2954, allocations: 63.42 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2955, allocations: 121.8 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.2955, allocations: 25.7 kB / 1.036 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.2956, allocations: 96.03 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.2956, allocations: 11.91 kB / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.2956, allocations: 0 / 1.036 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.2957, allocations: 322.8 kB / 1.037 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.2958, allocations: 35.98 kB / 1.037 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.03e-05/0.2959, allocations: 50.98 kB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.296, allocations: 78.81 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.296, allocations: 0 / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002078/0.2962, allocations: 125.4 kB / 1.037 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2963, allocations: 4 kB / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2963, allocations: 0 / 1.037 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.2963, allocations: 8 kB / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.449e-05/0.2964, allocations: 16.05 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2964, allocations: 0 / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.2964, allocations: 15.89 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2965, allocations: 4 kB / 1.037 GB, free: 4.09 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.126e-05/0.2966, allocations: 125.7 kB / 1.037 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2966, allocations: 4 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.2966, allocations: 4.375 kB / 1.037 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2966, allocations: 4 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2966, allocations: 0 / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2966, allocations: 3.984 kB / 1.037 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.297, allocations: 390.3 kB / 1.038 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.297, allocations: 3.984 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.2971, allocations: 4 kB / 1.038 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2971, allocations: 7.938 kB / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2971, allocations: 0 / 1.038 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2971, allocations: 4 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2971, allocations: 0 / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.2974, allocations: 215.4 kB / 1.038 GB, free: 3.258 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.2974, allocations: 89.02 kB / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2974, allocations: 0 / 1.038 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.2975, allocations: 11.92 kB / 1.038 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.2976, allocations: 7.938 kB / 1.038 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2976, allocations: 3.984 kB / 1.038 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.2976, allocations: 99.44 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2976, allocations: 0 / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002786/0.2979, allocations: 51.92 kB / 1.038 GB, free: 2.98 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.0002853/0.2982, allocations: 169.1 kB / 1.038 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.2984, allocations: 71.95 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2984, allocations: 4.125 kB / 1.038 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.463e-05/0.2985, allocations: 39.92 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2988, allocations: 8 kB / 1.038 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.2991, allocations: 215.6 kB / 1.039 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.2993, allocations: 0.6899 MB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.2993, allocations: 7.984 kB / 1.039 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.2994, allocations: 15.42 kB / 1.039 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.2994, allocations: 0 / 1.039 GB, free: 1.723 MB / 0.6823 GB Notification: Performance of Templates: time 0.003275/0.3027, allocations: 1.51 MB / 1.041 GB, free: 228 kB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)