Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.433/2.433, allocations: 284.8 MB / 297.3 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 188.8 kB / 365.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.1 MB / 0.6241 GB, free: 8.203 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 91.34 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.109e-05/4.113e-05, allocations: 4 kB / 0.8574 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7986, allocations: 115.2 MB / 0.97 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/2.071, allocations: 421.5 MB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/2.071, allocations: 91.14 kB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 12.23/14.3, allocations: 2.273 GB / 3.654 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.164e-06/14.3, allocations: 0 / 3.654 GB, free: 121.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001947/14.3, allocations: 258.9 kB / 3.655 GB, free: 121.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04044/14.34, allocations: 7.311 MB / 3.662 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/14.34, allocations: 6.938 kB / 3.662 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/14.35, allocations: 1.233 MB / 3.663 GB, free: 117.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04816/14.4, allocations: 12.53 MB / 3.675 GB, free: 113 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006985/14.4, allocations: 438.8 kB / 3.676 GB, free: 112.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003656/14.41, allocations: 0.5862 MB / 3.676 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04007/14.45, allocations: 13.46 MB / 3.689 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003579/14.45, allocations: 18.75 kB / 3.689 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003273/14.45, allocations: 237.9 kB / 3.689 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/14.45, allocations: 143.9 kB / 3.69 GB, free: 104.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04215/14.49, allocations: 18.08 MB / 3.707 GB, free: 94.95 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1445/14.64, allocations: 55.37 MB / 3.761 GB, free: 38.83 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0186/14.66, allocations: 8.702 MB / 3.77 GB, free: 30.11 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01916/14.68, allocations: 9.255 MB / 3.779 GB, free: 20.86 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8579/15.53, allocations: 26.29 MB / 3.805 GB, free: 127.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02023/15.55, allocations: 7.311 MB / 3.812 GB, free: 127.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09494/15.65, allocations: 21.18 MB / 3.832 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.474e-05/15.65, allocations: 0 / 3.832 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05288/15.7, allocations: 14.48 MB / 3.847 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/15.7, allocations: 93.67 kB / 3.847 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02286/15.72, allocations: 7.389 MB / 3.854 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002593/15.73, allocations: 97.64 kB / 3.854 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.006434/15.73, allocations: 4.01 MB / 3.858 GB, free: 125.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003835/15.74, allocations: 1.083 MB / 3.859 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002178/15.74, allocations: 90.06 kB / 3.859 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0005293/15.74, allocations: 496.7 kB / 3.859 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01648/15.76, allocations: 6.074 MB / 3.865 GB, free: 124.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01847/15.78, allocations: 7.889 MB / 3.873 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/15.79, allocations: 7.005 MB / 3.88 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.438e-05/15.79, allocations: 14.72 kB / 3.88 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05137/15.85, allocations: 16.36 MB / 3.896 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.005358/15.85, allocations: 25.24 MB / 3.921 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/15.85, allocations: 50 kB / 3.921 GB, free: 94.84 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1307/15.98, allocations: 10.88 MB / 3.931 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01628/16, allocations: 1.605 MB / 3.933 GB, free: 94.03 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/16.01, allocations: 6.321 MB / 3.939 GB, free: 91.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01976/16.03, allocations: 0.5967 MB / 3.94 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003468/16.04, allocations: 0.5447 MB / 3.94 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/16.04, allocations: 3.406 kB / 3.94 GB, free: 90.98 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05023/16.09, allocations: 15.71 MB / 3.955 GB, free: 90.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/16.09, allocations: 48.88 kB / 3.955 GB, free: 90.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1304/16.22, allocations: 10.61 MB / 3.966 GB, free: 89.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01624/16.23, allocations: 1.596 MB / 3.967 GB, free: 89.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/16.26, allocations: 10.19 MB / 3.977 GB, free: 85.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01896/16.28, allocations: 0.5743 MB / 3.978 GB, free: 85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003376/16.28, allocations: 0.5339 MB / 3.978 GB, free: 85 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005047/16.28, allocations: 409.1 kB / 3.979 GB, free: 84.88 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0049/16.29, allocations: 0.7579 MB / 3.98 GB, free: 84.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04509/16.33, allocations: 13.46 MB / 3.993 GB, free: 83.98 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/16.33, allocations: 35 kB / 3.993 GB, free: 83.98 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/16.33, allocations: 0 / 3.993 GB, free: 83.98 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0269/16.36, allocations: 10.06 MB / 4.003 GB, free: 83.48 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06885/16.43, allocations: 23.72 MB / 4.026 GB, free: 76.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/16.43, allocations: 3.953 kB / 4.026 GB, free: 76.84 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01028/16.44, allocations: 0.7008 MB / 4.026 GB, free: 76.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1314/16.57, allocations: 9.931 MB / 4.036 GB, free: 75.85 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00138/16.57, allocations: 105 kB / 4.036 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007212/16.58, allocations: 4.301 MB / 4.04 GB, free: 72.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/16.58, allocations: 2.562 kB / 4.04 GB, free: 72.49 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04355/16.62, allocations: 18.23 MB / 4.058 GB, free: 63.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009368/16.63, allocations: 1.995 MB / 4.06 GB, free: 62.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004121/16.64, allocations: 70.47 kB / 4.06 GB, free: 62.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01476/16.65, allocations: 423 kB / 4.061 GB, free: 62.66 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002139/16.65, allocations: 218.7 kB / 4.061 GB, free: 62.63 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001383/16.66, allocations: 156.2 kB / 4.061 GB, free: 62.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.02038/16.68, allocations: 5.731 MB / 4.067 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.305e-06/16.68, allocations: 0 / 4.067 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.03795/16.71, allocations: 4.93 MB / 4.071 GB, free: 58.39 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005398/16.72, allocations: 1.256 MB / 4.073 GB, free: 57.46 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.06205/16.78, allocations: 23.51 MB / 4.096 GB, free: 37.19 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/16.78, allocations: 0 / 4.096 GB, free: 37.19 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01465/16.8, allocations: 6.087 MB / 4.102 GB, free: 31.54 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03824/16.83, allocations: 4.612 MB / 4.106 GB, free: 28.24 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05833/16.89, allocations: 17.13 MB / 4.123 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01234/16.91, allocations: 5.374 MB / 4.128 GB, free: 9.414 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.05242/16.96, allocations: 7.883 MB / 4.136 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008137/16.97, allocations: 0.7678 MB / 4.136 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of SimCode: time 1.422e-06/16.97, allocations: 0 / 4.136 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of Templates: time 1.341/18.31, allocations: 227.5 MB / 4.359 GB, free: 125.8 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)