Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 171.4 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7492/0.7492, allocations: 130.7 MB / 138.7 MB, free: 3.535 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.0009378, allocations: 95.75 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.525e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5482, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8811/1.429, allocations: 380.7 MB / 1 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/1.43, allocations: 90.27 kB / 1 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.552/10.98, allocations: 2.311 GB / 3.311 GB, free: 58.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/10.98, allocations: 2.75 kB / 3.311 GB, free: 58.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.002102/10.98, allocations: 264.6 kB / 3.311 GB, free: 58.54 MB / 0.7136 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.03307/11.02, allocations: 7.365 MB / 3.318 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/11.02, allocations: 14.34 kB / 3.318 GB, free: 55.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/11.03, allocations: 1.241 MB / 3.32 GB, free: 54.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03729/11.07, allocations: 12.8 MB / 3.332 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000458/11.07, allocations: 184 kB / 3.332 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00305/11.07, allocations: 349.6 kB / 3.333 GB, free: 53.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02661/11.1, allocations: 17.76 MB / 3.35 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03527/11.13, allocations: 12.55 MB / 3.362 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005993/11.13, allocations: 21.09 kB / 3.362 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004059/11.14, allocations: 13.06 kB / 3.362 GB, free: 52.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/11.14, allocations: 137 kB / 3.362 GB, free: 52.76 MB / 0.7136 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.1124/11.25, allocations: 54.59 MB / 3.416 GB, free: 20.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/11.26, allocations: 8.642 MB / 3.424 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01135/11.27, allocations: 9.194 MB / 3.433 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7042/11.98, allocations: 26.28 MB / 3.459 GB, free: 65.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01021/11.99, allocations: 7.218 MB / 3.466 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05321/12.04, allocations: 21.05 MB / 3.486 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 4.391e-05/12.04, allocations: 0 / 3.486 GB, free: 64.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.03515/12.07, allocations: 15.04 MB / 3.501 GB, free: 63.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/12.07, allocations: 89.03 kB / 3.501 GB, free: 63.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/12.09, allocations: 6.503 MB / 3.507 GB, free: 63.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002763/12.09, allocations: 32.95 kB / 3.507 GB, free: 63.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.004441/12.09, allocations: 4.03 MB / 3.511 GB, free: 62.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.003636/12.1, allocations: 1.043 MB / 3.512 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/12.1, allocations: 3.609 kB / 3.512 GB, free: 62.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003592/12.1, allocations: 0.4927 MB / 3.513 GB, free: 61.74 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007561/12.11, allocations: 6.021 MB / 3.519 GB, free: 61.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009829/12.12, allocations: 7.792 MB / 3.526 GB, free: 59.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0154/12.13, allocations: 7.543 MB / 3.534 GB, free: 59.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/12.13, allocations: 13.03 kB / 3.534 GB, free: 59.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04658/12.18, allocations: 16.57 MB / 3.55 GB, free: 58.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.006537/12.19, allocations: 24.72 MB / 3.574 GB, free: 32.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/12.19, allocations: 47.47 kB / 3.574 GB, free: 32.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004514/12.19, allocations: 1.548 MB / 3.576 GB, free: 32.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/12.2, allocations: 1.609 MB / 3.577 GB, free: 32.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/12.21, allocations: 6.951 MB / 3.584 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01678/12.23, allocations: 0.5051 MB / 3.584 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004073/12.24, allocations: 0.5428 MB / 3.585 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/12.24, allocations: 5.719 kB / 3.585 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04119/12.28, allocations: 15.75 MB / 3.6 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002995/12.28, allocations: 49.84 kB / 3.6 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/12.28, allocations: 1.417 MB / 3.602 GB, free: 29.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/12.29, allocations: 1.599 MB / 3.603 GB, free: 29.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/12.31, allocations: 10.51 MB / 3.614 GB, free: 40.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01322/12.33, allocations: 487.2 kB / 3.614 GB, free: 40.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003738/12.33, allocations: 0.5326 MB / 3.615 GB, free: 40.52 MB / 0.7292 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.005609/12.33, allocations: 262.4 kB / 3.615 GB, free: 40.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005077/12.34, allocations: 0.7089 MB / 3.616 GB, free: 40.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03665/12.38, allocations: 13.76 MB / 3.629 GB, free: 39.49 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/12.38, allocations: 35.81 kB / 3.629 GB, free: 39.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/12.38, allocations: 2.344 kB / 3.629 GB, free: 39.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0215/12.4, allocations: 10.46 MB / 3.639 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04804/12.45, allocations: 23.52 MB / 3.662 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/12.45, allocations: 0 / 3.662 GB, free: 25.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005411/12.45, allocations: 0.6893 MB / 3.663 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/12.45, allocations: 0.7002 MB / 3.664 GB, free: 25.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009436/12.45, allocations: 67.5 kB / 3.664 GB, free: 25.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/12.46, allocations: 5.005 MB / 3.669 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/12.46, allocations: 3.766 kB / 3.669 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03279/12.5, allocations: 18.47 MB / 3.687 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008239/12.5, allocations: 1.942 MB / 3.688 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004068/12.51, allocations: 15.52 kB / 3.688 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/12.52, allocations: 359.9 kB / 3.689 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001614/12.52, allocations: 214.8 kB / 3.689 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00137/12.52, allocations: 164.6 kB / 3.689 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0147/12.54, allocations: 5.066 MB / 3.694 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.82e-07/12.54, allocations: 3.719 kB / 3.694 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.03214/12.57, allocations: 5.03 MB / 3.699 GB, free: 10.27 MB / 0.7448 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.004495/12.57, allocations: 1.175 MB / 3.7 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.642/13.21, allocations: 23.44 MB / 3.723 GB, free: 94.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/13.21, allocations: 5.891 kB / 3.723 GB, free: 94.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.009188/13.22, allocations: 6.008 MB / 3.729 GB, free: 94.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02402/13.25, allocations: 3.989 MB / 3.733 GB, free: 94.81 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04592/13.29, allocations: 16.88 MB / 3.749 GB, free: 92.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0058/13.3, allocations: 5.419 MB / 3.755 GB, free: 91.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.03056/13.33, allocations: 7.423 MB / 3.762 GB, free: 90.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0055/13.34, allocations: 0.7493 MB / 3.763 GB, free: 90.89 MB / 0.7448 GB Notification: Performance of SimCode: time 1.593e-06/13.34, allocations: 2.406 kB / 3.763 GB, free: 90.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.3079/13.64, allocations: 198.6 MB / 3.957 GB, free: 3.363 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)