Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.806/3.806, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.002359/0.002359, allocations: 173.7 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.123/4.123, allocations: 205.4 MB / 0.5772 GB, free: 21.14 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.00152/0.00152, allocations: 92.11 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000717/0.0007172, allocations: 8.531 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3171, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.67, allocations: 133.5 MB / 1.03 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004782/0.6706, allocations: 91.95 kB / 1.03 GB, free: 12.24 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01684/0.6875, allocations: 3.004 MB / 1.033 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6875, allocations: 0 / 1.033 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6875, allocations: 4 kB / 1.033 GB, free: 9.227 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.0008841/0.6884, allocations: 432.9 kB / 1.033 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.6885, allocations: 8.031 kB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.6886, allocations: 8.844 kB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.6888, allocations: 168.4 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.6888, allocations: 4.312 kB / 1.033 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.6889, allocations: 4.375 kB / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.6892, allocations: 82.14 kB / 1.034 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.6892, allocations: 4.188 kB / 1.034 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.6893, allocations: 7.922 kB / 1.034 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.6893, allocations: 0 / 1.034 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.6896, allocations: 43.91 kB / 1.034 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.6906, allocations: 328.7 kB / 1.034 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.6909, allocations: 50.5 kB / 1.034 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.6911, allocations: 44.89 kB / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.6911, allocations: 0 / 1.034 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003751/0.6915, allocations: 83.38 kB / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.717e-06/0.6915, allocations: 0 / 1.034 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001029/0.6926, allocations: 141.5 kB / 1.034 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.6927, allocations: 59.41 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.693, allocations: 117.8 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.693, allocations: 33.69 kB / 1.034 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.6931, allocations: 84.14 kB / 1.035 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.6932, allocations: 19.88 kB / 1.035 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-05/0.6932, allocations: 0 / 1.035 GB, free: 7.324 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.6935, allocations: 330.8 kB / 1.035 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.6937, allocations: 27.98 kB / 1.035 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.694, allocations: 50.55 kB / 1.035 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.6942, allocations: 32 kB / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6943, allocations: 0 / 1.035 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000612/0.6949, allocations: 117.5 kB / 1.035 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6949, allocations: 4 kB / 1.035 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.695, allocations: 4 kB / 1.035 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.695, allocations: 4.062 kB / 1.035 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.6952, allocations: 19.92 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.6952, allocations: 4 kB / 1.035 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.6954, allocations: 7.984 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.6955, allocations: 8 kB / 1.035 GB, free: 6.703 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 0.0001868/0.6957, allocations: 121.7 kB / 1.035 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.6957, allocations: 7.906 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.966e-05/0.6958, allocations: 12.38 kB / 1.035 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.6958, allocations: 0 / 1.035 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.6958, allocations: 0 / 1.035 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.6959, allocations: 7.984 kB / 1.035 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009953/0.6969, allocations: 382.4 kB / 1.036 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.6969, allocations: 0 / 1.036 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.697, allocations: 8 kB / 1.036 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.697, allocations: 3.938 kB / 1.036 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.6971, allocations: 4 kB / 1.036 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.6971, allocations: 0 / 1.036 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6971, allocations: 0 / 1.036 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.6978, allocations: 227.8 kB / 1.036 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/0.6979, allocations: 81.02 kB / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.698, allocations: 0 / 1.036 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.6982, allocations: 7.984 kB / 1.036 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.6983, allocations: 15.92 kB / 1.036 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.6983, allocations: 7.984 kB / 1.036 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001013/0.6984, allocations: 87.94 kB / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.6984, allocations: 0 / 1.036 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007845/0.6992, allocations: 55.86 kB / 1.036 GB, free: 5.594 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.0007316/0.7, allocations: 171 kB / 1.036 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.7006, allocations: 75.89 kB / 1.036 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7006, allocations: 4.125 kB / 1.036 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.7009, allocations: 35.98 kB / 1.036 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006116/0.7015, allocations: 12.5 kB / 1.036 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.7024, allocations: 215.1 kB / 1.037 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.7028, allocations: 0.6887 MB / 1.037 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.793e-05/0.7029, allocations: 4 kB / 1.037 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.7029, allocations: 15.42 kB / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/0.703, allocations: 0 / 1.037 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of Templates: time 0.008486/0.7115, allocations: 1.524 MB / 1.039 GB, free: 2.812 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & ./Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1)