Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009611/0.0009612, allocations: 171 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4589/0.4589, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 348.4 MB, free: 4.965 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008825, allocations: 90.2 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3744, allocations: 71.03 MB / 0.5595 GB, free: 43.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6765/1.051, allocations: 353 MB / 0.9042 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/1.051, allocations: 97.33 kB / 0.9043 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.624/2.675, allocations: 486.4 MB / 1.379 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/2.675, allocations: 4 kB / 1.379 GB, free: 30.97 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002777/2.675, allocations: 35.98 kB / 1.379 GB, free: 30.93 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005653/2.681, allocations: 1.95 MB / 1.381 GB, free: 28.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/2.681, allocations: 8.031 kB / 1.381 GB, free: 28.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/2.682, allocations: 238.9 kB / 1.381 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/2.687, allocations: 1.924 MB / 1.383 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-05/2.687, allocations: 66.38 kB / 1.383 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/2.688, allocations: 84.31 kB / 1.383 GB, free: 26.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/2.69, allocations: 0.9652 MB / 1.384 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/2.69, allocations: 7.938 kB / 1.384 GB, free: 25.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/2.69, allocations: 39.88 kB / 1.384 GB, free: 25.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/2.69, allocations: 16 kB / 1.385 GB, free: 25.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/2.691, allocations: 0.7103 MB / 1.385 GB, free: 24.77 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006068/2.697, allocations: 4.714 MB / 1.39 GB, free: 19.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/2.698, allocations: 0.5923 MB / 1.39 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/2.699, allocations: 329.1 kB / 1.391 GB, free: 18.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002665/2.702, allocations: 1.696 MB / 1.392 GB, free: 17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006195/2.702, allocations: 346.2 kB / 1.393 GB, free: 16.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006816/2.703, allocations: 103.5 kB / 1.393 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 4.509e-06/2.703, allocations: 0 / 1.393 GB, free: 16.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46): time 0.002863/2.706, allocations: 1.177 MB / 1.394 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/2.706, allocations: 63.33 kB / 1.394 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/2.708, allocations: 1.242 MB / 1.395 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/2.708, allocations: 45.7 kB / 1.395 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005062/2.708, allocations: 0.6412 MB / 1.396 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/2.709, allocations: 161.7 kB / 1.396 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/2.709, allocations: 15.98 kB / 1.396 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.123e-05/2.709, allocations: 330 kB / 1.396 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/2.709, allocations: 237.8 kB / 1.397 GB, free: 12.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/2.71, allocations: 0.5826 MB / 1.397 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/2.711, allocations: 0.767 MB / 1.398 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/2.711, allocations: 4 kB / 1.398 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002052/2.713, allocations: 1.039 MB / 1.399 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/2.713, allocations: 342.6 kB / 1.399 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/2.713, allocations: 8 kB / 1.399 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/2.714, allocations: 180 kB / 1.399 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/2.714, allocations: 155.7 kB / 1.4 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005825/2.715, allocations: 0.7706 MB / 1.4 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/2.716, allocations: 79.91 kB / 1.4 GB, free: 8.238 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/2.716, allocations: 43.98 kB / 1.4 GB, free: 8.195 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/2.716, allocations: 5.719 kB / 1.4 GB, free: 8.191 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001408/2.718, allocations: 0.9054 MB / 1.401 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/2.718, allocations: 12.09 kB / 1.401 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/2.718, allocations: 104.8 kB / 1.401 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/2.718, allocations: 139.8 kB / 1.402 GB, free: 7.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001734/2.72, allocations: 2.211 MB / 1.404 GB, free: 4.637 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009791/2.721, allocations: 75.91 kB / 1.404 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/2.721, allocations: 36 kB / 1.404 GB, free: 4.527 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008332/2.722, allocations: 486.2 kB / 1.404 GB, free: 4.043 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/2.722, allocations: 126.4 kB / 1.404 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/2.724, allocations: 0.8826 MB / 1.405 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/2.724, allocations: 4 kB / 1.405 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/2.724, allocations: 3.938 kB / 1.405 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/2.725, allocations: 0.8865 MB / 1.406 GB, free: 2.062 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 postOpt removeSimpleEquations (simulation): time 0.00322/2.728, allocations: 1.873 MB / 1.408 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/2.728, allocations: 0 / 1.408 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003863/2.729, allocations: 91.86 kB / 1.408 GB, free: 16 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3888/3.118, allocations: 110.9 kB / 1.408 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/3.118, allocations: 15.08 kB / 1.408 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000642/3.118, allocations: 0.7514 MB / 1.409 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/3.119, allocations: 0.5 kB / 1.409 GB, free: 115.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/3.121, allocations: 1.213 MB / 1.41 GB, free: 115.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/3.122, allocations: 260.5 kB / 1.41 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/3.122, allocations: 10.84 kB / 1.41 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/3.122, allocations: 69.27 kB / 1.41 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/3.122, allocations: 45.39 kB / 1.41 GB, free: 115 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/3.123, allocations: 20.77 kB / 1.411 GB, free: 115 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001549/3.124, allocations: 0.8593 MB / 1.411 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/3.124, allocations: 3.188 kB / 1.411 GB, free: 114.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002771/3.127, allocations: 0.7071 MB / 1.412 GB, free: 114.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/3.129, allocations: 0.746 MB / 1.413 GB, free: 114.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002941/3.131, allocations: 1.316 MB / 1.414 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/3.132, allocations: 1.094 kB / 1.414 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007097/3.132, allocations: 330.8 kB / 1.414 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00239/3.135, allocations: 0.5611 MB / 1.415 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/3.138, allocations: 2.688 MB / 1.418 GB, free: 113.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/3.139, allocations: 1.269 MB / 1.419 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001128/3.14, allocations: 310.2 kB / 1.419 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/3.14, allocations: 100.7 kB / 1.419 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/3.14, allocations: 0 / 1.419 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.04786/3.188, allocations: 27.68 MB / 1.446 GB, free: 112 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)