Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007023/0.007023, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7346/0.7346, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.001187/0.001187, allocations: 94.28 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003794, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.5324, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8983/1.431, allocations: 381.7 MB / 1.022 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/1.431, allocations: 99.64 kB / 1.022 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.402/10.83, allocations: 2.331 GB / 3.353 GB, free: 67.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.437e-06/10.83, allocations: 0.75 kB / 3.353 GB, free: 67.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.002049/10.83, allocations: 270.3 kB / 3.354 GB, free: 67.87 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.05501/10.89, allocations: 9.579 MB / 3.363 GB, free: 64.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/10.89, allocations: 12.86 kB / 3.363 GB, free: 64.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01566/10.91, allocations: 1.246 MB / 3.364 GB, free: 63.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06207/10.97, allocations: 12.88 MB / 3.377 GB, free: 62.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/10.97, allocations: 437.2 kB / 3.377 GB, free: 62.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004997/10.97, allocations: 0.5869 MB / 3.378 GB, free: 62.01 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05846/11.03, allocations: 13.63 MB / 3.391 GB, free: 61.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006064/11.03, allocations: 21.78 kB / 3.391 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004565/11.04, allocations: 240.4 kB / 3.391 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/11.04, allocations: 138.9 kB / 3.391 GB, free: 61.12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/11.08, allocations: 18.35 MB / 3.409 GB, free: 58.32 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.1022/11.18, allocations: 55.51 MB / 3.464 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6199/11.8, allocations: 8.834 MB / 3.472 GB, free: 76.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08958/11.89, allocations: 26.37 MB / 3.498 GB, free: 69.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01325/11.9, allocations: 7.409 MB / 3.505 GB, free: 69.88 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05008/11.96, allocations: 21.18 MB / 3.526 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 3.239e-05/11.96, allocations: 0 / 3.526 GB, free: 69.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.04903/12, allocations: 22.54 MB / 3.548 GB, free: 68.31 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/12, allocations: 93.7 kB / 3.548 GB, free: 68.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/12.02, allocations: 7.586 MB / 3.555 GB, free: 67.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.003672/12.03, allocations: 96.8 kB / 3.555 GB, free: 67.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.005622/12.03, allocations: 4.039 MB / 3.559 GB, free: 67.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.004427/12.04, allocations: 1.086 MB / 3.56 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/12.04, allocations: 88.94 kB / 3.561 GB, free: 66.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004525/12.04, allocations: 490.4 kB / 3.561 GB, free: 66.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/12.05, allocations: 6.189 MB / 3.567 GB, free: 66.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/12.07, allocations: 7.99 MB / 3.575 GB, free: 64.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01652/12.08, allocations: 7.089 MB / 3.582 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/12.08, allocations: 14.56 kB / 3.582 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04197/12.12, allocations: 16.59 MB / 3.598 GB, free: 63.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.006241/12.13, allocations: 25.41 MB / 3.623 GB, free: 36.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/12.13, allocations: 48.69 kB / 3.623 GB, free: 36.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06634/12.2, allocations: 10.89 MB / 3.633 GB, free: 35.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009392/12.21, allocations: 1.6 MB / 3.635 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009212/12.22, allocations: 6.364 MB / 3.641 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/12.23, allocations: 0.597 MB / 3.642 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003937/12.23, allocations: 0.541 MB / 3.642 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/12.23, allocations: 1.719 kB / 3.642 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04056/12.28, allocations: 15.92 MB / 3.658 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002505/12.28, allocations: 47.94 kB / 3.658 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06493/12.34, allocations: 10.63 MB / 3.668 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01058/12.35, allocations: 1.593 MB / 3.67 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/12.37, allocations: 10.36 MB / 3.68 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/12.38, allocations: 0.5711 MB / 3.681 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003487/12.38, allocations: 0.5322 MB / 3.681 GB, free: 40.28 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.01063/12.39, allocations: 2.659 MB / 3.684 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00536/12.4, allocations: 0.7666 MB / 3.684 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03157/12.43, allocations: 13.67 MB / 3.698 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/12.43, allocations: 37.69 kB / 3.698 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/12.43, allocations: 0 / 3.698 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02313/12.45, allocations: 10.25 MB / 3.708 GB, free: 23.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06281/12.52, allocations: 23.98 MB / 3.731 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/12.52, allocations: 6.578 kB / 3.731 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006229/12.52, allocations: 0.6997 MB / 3.732 GB, free: 3.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6844/13.21, allocations: 11.81 MB / 3.743 GB, free: 87.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00199/13.21, allocations: 102.4 kB / 3.744 GB, free: 87.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006294/13.22, allocations: 4.321 MB / 3.748 GB, free: 84.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/13.22, allocations: 1.625 kB / 3.748 GB, free: 84.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03155/13.25, allocations: 18.53 MB / 3.766 GB, free: 84.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00909/13.26, allocations: 2.005 MB / 3.768 GB, free: 84.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004111/13.26, allocations: 74.3 kB / 3.768 GB, free: 84.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009771/13.27, allocations: 422.8 kB / 3.768 GB, free: 84.36 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/13.27, allocations: 221 kB / 3.769 GB, free: 84.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000886/13.27, allocations: 158.6 kB / 3.769 GB, free: 84.35 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0129/13.29, allocations: 5.905 MB / 3.774 GB, free: 84.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/13.29, allocations: 0 / 3.774 GB, free: 84.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0269/13.31, allocations: 4.937 MB / 3.779 GB, free: 83.9 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) * 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.004002/13.32, allocations: 1.271 MB / 3.78 GB, free: 83.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.04159/13.36, allocations: 23.57 MB / 3.804 GB, free: 82.94 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/13.36, allocations: 2.781 kB / 3.804 GB, free: 82.94 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0098/13.37, allocations: 6.193 MB / 3.81 GB, free: 82.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02422/13.39, allocations: 4.607 MB / 3.814 GB, free: 82.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/13.43, allocations: 22.51 MB / 3.836 GB, free: 75.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006406/13.44, allocations: 5.415 MB / 3.841 GB, free: 75.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.02256/13.46, allocations: 5.072 MB / 3.846 GB, free: 74.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006688/13.47, allocations: 0.923 MB / 3.847 GB, free: 74.49 MB / 0.7448 GB Notification: Performance of SimCode: time 1.583e-06/13.47, allocations: 0 / 3.847 GB, free: 74.49 MB / 0.7448 GB Notification: Performance of Templates: time 0.8883/14.36, allocations: 219.8 MB / 4.062 GB, free: 111.6 MB / 0.7761 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)