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.00125/0.00125, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.604/1.604, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 104.6 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.08e-05, allocations: 3.188 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1524, allocations: 81.58 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.372, allocations: 381.4 MB / 1.007 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/1.372, allocations: 98.59 kB / 1.007 GB, free: 205.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.662/10.03, allocations: 2.323 GB / 3.33 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.673e-06/10.03, allocations: 0 / 3.33 GB, free: 53.64 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.001658/10.04, allocations: 267.4 kB / 3.33 GB, free: 53.38 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.03224/10.07, allocations: 7.363 MB / 3.338 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/10.07, allocations: 8.031 kB / 3.338 GB, free: 45.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00969/10.08, allocations: 1.248 MB / 3.339 GB, free: 44.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03879/10.12, allocations: 12.8 MB / 3.351 GB, free: 31.87 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006326/10.12, allocations: 450.7 kB / 3.352 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003496/10.12, allocations: 0.5819 MB / 3.352 GB, free: 30.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03133/10.15, allocations: 13.46 MB / 3.366 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002015/10.15, allocations: 23.78 kB / 3.366 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/10.15, allocations: 243.9 kB / 3.366 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.787e-05/10.15, allocations: 136 kB / 3.366 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02691/10.18, allocations: 18.08 MB / 3.384 GB, free: 14.64 MB / 0.7292 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.7464/10.93, allocations: 55.39 MB / 3.438 GB, free: 69.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/10.94, allocations: 8.702 MB / 3.446 GB, free: 69.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01304/10.95, allocations: 9.265 MB / 3.455 GB, free: 69.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06015/11.01, allocations: 26.29 MB / 3.481 GB, free: 62.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01326/11.03, allocations: 7.312 MB / 3.488 GB, free: 61.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05262/11.08, allocations: 21.17 MB / 3.509 GB, free: 61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=301): time 4.078e-05/11.08, allocations: 0 / 3.509 GB, free: 61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=301): time 0.03659/11.12, allocations: 14.5 MB / 3.523 GB, free: 60.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/11.12, allocations: 83.41 kB / 3.523 GB, free: 60.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01919/11.14, allocations: 7.504 MB / 3.53 GB, free: 59.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.00272/11.14, allocations: 104.7 kB / 3.53 GB, free: 59.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.004928/11.14, allocations: 4.043 MB / 3.534 GB, free: 58.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003644/11.15, allocations: 1.088 MB / 3.535 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000821/11.15, allocations: 89.34 kB / 3.535 GB, free: 58.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003352/11.15, allocations: 499.4 kB / 3.536 GB, free: 58.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008358/11.16, allocations: 6.074 MB / 3.542 GB, free: 58.05 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/11.17, allocations: 7.881 MB / 3.55 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/11.18, allocations: 6.998 MB / 3.556 GB, free: 55.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.839e-05/11.18, allocations: 15.84 kB / 3.556 GB, free: 55.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03598/11.22, allocations: 16.36 MB / 3.572 GB, free: 49.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.006798/11.22, allocations: 25.41 MB / 3.597 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/11.22, allocations: 46.03 kB / 3.597 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06503/11.29, allocations: 10.89 MB / 3.608 GB, free: 37.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009414/11.3, allocations: 1.613 MB / 3.609 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/11.31, allocations: 6.299 MB / 3.616 GB, free: 34.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/11.32, allocations: 0.6024 MB / 3.616 GB, free: 33.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003464/11.33, allocations: 0.542 MB / 3.617 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/11.33, allocations: 5.844 kB / 3.617 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03508/11.36, allocations: 15.71 MB / 3.632 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002265/11.36, allocations: 45.84 kB / 3.632 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06313/11.42, allocations: 10.62 MB / 3.643 GB, free: 21.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00924/11.43, allocations: 1.599 MB / 3.644 GB, free: 20.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/11.45, allocations: 10.21 MB / 3.654 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01367/11.46, allocations: 0.5713 MB / 3.655 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003406/11.47, allocations: 0.5353 MB / 3.655 GB, free: 10.21 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 () * 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.005322/11.47, allocations: 399.4 kB / 3.655 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005298/11.48, allocations: 0.7638 MB / 3.656 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7288/12.2, allocations: 13.98 MB / 3.67 GB, free: 97.89 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.097e-05/12.2, allocations: 34.91 kB / 3.67 GB, free: 97.89 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/12.2, allocations: 4.516 kB / 3.67 GB, free: 97.89 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01877/12.22, allocations: 10.06 MB / 3.68 GB, free: 97.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05014/12.27, allocations: 23.74 MB / 3.703 GB, free: 94.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/12.27, allocations: 0.9844 kB / 3.703 GB, free: 94.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005442/12.28, allocations: 0.7016 MB / 3.704 GB, free: 94.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06352/12.34, allocations: 9.933 MB / 3.713 GB, free: 94.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001477/12.34, allocations: 104.2 kB / 3.713 GB, free: 94.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/12.35, allocations: 4.303 MB / 3.718 GB, free: 91.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/12.35, allocations: 3.656 kB / 3.718 GB, free: 91.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0283/12.38, allocations: 18.23 MB / 3.735 GB, free: 90.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00904/12.39, allocations: 2.006 MB / 3.737 GB, free: 90.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00376/12.39, allocations: 70.86 kB / 3.737 GB, free: 90.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01015/12.4, allocations: 427.2 kB / 3.738 GB, free: 90.38 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/12.4, allocations: 213.1 kB / 3.738 GB, free: 90.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008318/12.4, allocations: 160.6 kB / 3.738 GB, free: 90.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.01291/12.42, allocations: 5.819 MB / 3.744 GB, free: 90.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.6e-07/12.42, allocations: 0 / 3.744 GB, free: 90.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.02685/12.44, allocations: 4.942 MB / 3.749 GB, free: 89.89 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.004052/12.45, allocations: 1.282 MB / 3.75 GB, free: 89.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0432/12.49, allocations: 23.51 MB / 3.773 GB, free: 88.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-05/12.49, allocations: 3.938 kB / 3.773 GB, free: 88.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01005/12.5, allocations: 6.084 MB / 3.779 GB, free: 88.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02689/12.53, allocations: 4.605 MB / 3.783 GB, free: 88.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/12.57, allocations: 17.26 MB / 3.8 GB, free: 85.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008344/12.58, allocations: 5.428 MB / 3.806 GB, free: 84.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.03067/12.61, allocations: 7.967 MB / 3.813 GB, free: 83.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005469/12.62, allocations: 0.7757 MB / 3.814 GB, free: 83.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.142e-06/12.62, allocations: 0 / 3.814 GB, free: 83.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.9455/13.57, allocations: 227.7 MB / 4.036 GB, free: 94.25 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)