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.009047/0.009047, allocations: 169.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7815/0.7815, allocations: 132.3 MB / 148.1 MB, free: 288 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 223.2 MB / 403.2 MB, free: 6.797 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.001024/0.001024, allocations: 100.1 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003877, allocations: 15.98 kB / 0.5641 GB, free: 2.168 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4642, allocations: 81.57 MB / 0.6437 GB, free: 39.41 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9175/1.382, allocations: 381.5 MB / 1.016 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.382, allocations: 97.7 kB / 1.016 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.411/10.79, allocations: 2.331 GB / 3.347 GB, free: 67.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.657e-06/10.79, allocations: 0 / 3.347 GB, free: 67.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001924/10.8, allocations: 263.6 kB / 3.348 GB, free: 67.77 MB / 0.7292 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.03902/10.83, allocations: 9.58 MB / 3.357 GB, free: 63.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/10.83, allocations: 7.781 kB / 3.357 GB, free: 63.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009635/10.84, allocations: 1.255 MB / 3.358 GB, free: 63.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03608/10.88, allocations: 12.87 MB / 3.371 GB, free: 62.06 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005445/10.88, allocations: 437.7 kB / 3.371 GB, free: 62.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/10.88, allocations: 0.5873 MB / 3.372 GB, free: 62.04 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/10.91, allocations: 13.63 MB / 3.385 GB, free: 61.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003161/10.91, allocations: 25.48 kB / 3.385 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002748/10.92, allocations: 237.5 kB / 3.385 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/10.92, allocations: 137.1 kB / 3.385 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02992/10.95, allocations: 18.34 MB / 3.403 GB, free: 61.13 MB / 0.7292 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.1034/11.05, allocations: 55.52 MB / 3.458 GB, free: 24.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/11.06, allocations: 8.85 MB / 3.466 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6428/11.7, allocations: 26.34 MB / 3.492 GB, free: 74.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01221/11.72, allocations: 7.411 MB / 3.499 GB, free: 74.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04969/11.77, allocations: 21.18 MB / 3.52 GB, free: 73.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 3.827e-05/11.77, allocations: 0 / 3.52 GB, free: 73.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.04902/11.81, allocations: 22.56 MB / 3.542 GB, free: 72.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/11.81, allocations: 85.16 kB / 3.542 GB, free: 72.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01589/11.83, allocations: 7.588 MB / 3.549 GB, free: 72.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.002832/11.83, allocations: 104.4 kB / 3.549 GB, free: 72.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004736/11.84, allocations: 4.037 MB / 3.553 GB, free: 71.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003503/11.84, allocations: 1.09 MB / 3.554 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009669/11.84, allocations: 91.28 kB / 3.555 GB, free: 71.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002995/11.84, allocations: 493.4 kB / 3.555 GB, free: 71.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008431/11.85, allocations: 6.181 MB / 3.561 GB, free: 71.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01083/11.86, allocations: 7.992 MB / 3.569 GB, free: 68.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/11.87, allocations: 7.087 MB / 3.576 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/11.87, allocations: 13.88 kB / 3.576 GB, free: 68.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03584/11.91, allocations: 16.58 MB / 3.592 GB, free: 67.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.005481/11.92, allocations: 25.41 MB / 3.617 GB, free: 41.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/11.92, allocations: 48.88 kB / 3.617 GB, free: 41.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06676/11.98, allocations: 10.89 MB / 3.628 GB, free: 40.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009093/11.99, allocations: 1.607 MB / 3.629 GB, free: 40.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008719/12, allocations: 6.353 MB / 3.635 GB, free: 37.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/12.01, allocations: 0.5977 MB / 3.636 GB, free: 37.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003187/12.02, allocations: 0.5434 MB / 3.636 GB, free: 37.42 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/12.02, allocations: 3.812 kB / 3.636 GB, free: 37.42 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03286/12.05, allocations: 15.92 MB / 3.652 GB, free: 37.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001767/12.05, allocations: 48.22 kB / 3.652 GB, free: 37.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06731/12.12, allocations: 10.62 MB / 3.662 GB, free: 36.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008764/12.13, allocations: 1.596 MB / 3.664 GB, free: 36.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/12.14, allocations: 10.36 MB / 3.674 GB, free: 47.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01184/12.15, allocations: 0.5801 MB / 3.675 GB, free: 47.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003025/12.16, allocations: 0.5358 MB / 3.675 GB, free: 47.43 MB / 0.7448 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 () * Number of clocked 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.008172/12.16, allocations: 2.657 MB / 3.678 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00343/12.17, allocations: 0.7634 MB / 3.678 GB, free: 46.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02617/12.19, allocations: 13.66 MB / 3.692 GB, free: 45.14 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/12.19, allocations: 42.16 kB / 3.692 GB, free: 45.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/12.19, allocations: 4 kB / 3.692 GB, free: 45.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01323/12.21, allocations: 10.24 MB / 3.702 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04284/12.25, allocations: 23.99 MB / 3.725 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/12.25, allocations: 0 / 3.725 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005048/12.25, allocations: 0.6994 MB / 3.726 GB, free: 20.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06265/12.32, allocations: 9.933 MB / 3.736 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/12.32, allocations: 101.6 kB / 3.736 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005129/12.32, allocations: 4.32 MB / 3.74 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/12.32, allocations: 8.281 kB / 3.74 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03789/12.36, allocations: 18.76 MB / 3.758 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009604/12.37, allocations: 2.008 MB / 3.76 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004577/12.38, allocations: 74.03 kB / 3.76 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/12.39, allocations: 426.9 kB / 3.761 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/12.39, allocations: 216 kB / 3.761 GB, free: 6.617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009193/12.39, allocations: 161.7 kB / 3.761 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01505/12.4, allocations: 5.898 MB / 3.767 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.51e-07/12.4, allocations: 0 / 3.767 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.6101/13.01, allocations: 5.342 MB / 3.772 GB, free: 103.9 MB / 0.7605 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) * Number of clocked states: 0 () * 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.004698/13.02, allocations: 1.267 MB / 3.773 GB, free: 103.8 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.04462/13.06, allocations: 23.58 MB / 3.796 GB, free: 103 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/13.06, allocations: 3.438 kB / 3.796 GB, free: 103 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.01041/13.07, allocations: 6.197 MB / 3.802 GB, free: 102.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02418/13.1, allocations: 4.608 MB / 3.807 GB, free: 102.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/13.14, allocations: 22.52 MB / 3.829 GB, free: 95.97 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007316/13.15, allocations: 5.407 MB / 3.834 GB, free: 95.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.02354/13.17, allocations: 5.08 MB / 3.839 GB, free: 94.69 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0066/13.18, allocations: 0.9198 MB / 3.84 GB, free: 94.68 MB / 0.7605 GB Notification: Performance of SimCode: time 1.523e-06/13.18, allocations: 3.375 kB / 3.84 GB, free: 94.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.8417/14.02, allocations: 219.8 MB / 4.055 GB, free: 119.7 MB / 0.7761 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)