Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009373/0.0009374, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.726/0.726, allocations: 132.4 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.0002781, allocations: 8 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3357, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02786/0.3635, allocations: 30.05 MB / 0.6124 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3762, allocations: 9.765 MB / 0.622 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.3773, allocations: 39.53 kB / 0.622 GB, free: 6.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.3787, allocations: 497.2 kB / 0.6225 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.3817, allocations: 1.301 MB / 0.6237 GB, free: 4.609 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002654/0.3844, allocations: 1.057 MB / 0.6248 GB, free: 3.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005659/0.3901, allocations: 5.506 MB / 0.6301 GB, free: 268 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.3923, allocations: 1.609 MB / 0.6317 GB, free: 14.63 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002774/0.3951, allocations: 1.564 MB / 0.6332 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.3971, allocations: 1.303 MB / 0.6345 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002467/0.3974, allocations: 72 kB / 0.6346 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.3994, allocations: 0.8854 MB / 0.6355 GB, free: 10.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.3999, allocations: 386.2 kB / 0.6358 GB, free: 10.42 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.4007, allocations: 400.7 kB / 0.6362 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.4032, allocations: 2.174 MB / 0.6383 GB, free: 7.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4033, allocations: 0 / 0.6383 GB, free: 7.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4033, allocations: 0 / 0.6383 GB, free: 7.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.602e-05/0.4033, allocations: 0 / 0.6383 GB, free: 7.84 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003869/0.4072, allocations: 2.092 MB / 0.6404 GB, free: 5.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4073, allocations: 12.03 kB / 0.6404 GB, free: 5.668 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.4084, allocations: 313.2 kB / 0.6407 GB, free: 5.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.411, allocations: 1.587 MB / 0.6422 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.4111, allocations: 86 kB / 0.6423 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4112, allocations: 104 kB / 0.6424 GB, free: 3.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.4133, allocations: 1.33 MB / 0.6437 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4134, allocations: 3.938 kB / 0.6437 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.983e-05/0.4135, allocations: 40 kB / 0.6438 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4135, allocations: 20 kB / 0.6438 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.4154, allocations: 1.061 MB / 0.6448 GB, free: 1.008 MB / 478.1 MB 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.006563/0.422, allocations: 6.977 MB / 0.6516 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.4234, allocations: 0.6837 MB / 0.6523 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.4241, allocations: 428 kB / 0.6527 GB, free: 8.426 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/0.4265, allocations: 1.823 MB / 0.6545 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008159/0.4273, allocations: 413 kB / 0.6549 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003773/0.4277, allocations: 103.2 kB / 0.655 GB, free: 5.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.4277, allocations: 0 / 0.655 GB, free: 5.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.003875/0.4316, allocations: 1.537 MB / 0.6565 GB, free: 4.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4316, allocations: 59.41 kB / 0.6565 GB, free: 4.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.4337, allocations: 1.847 MB / 0.6583 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.4338, allocations: 45.7 kB / 0.6584 GB, free: 2.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/0.4345, allocations: 0.8465 MB / 0.6592 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.4346, allocations: 169.7 kB / 0.6594 GB, free: 1.348 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.4347, allocations: 16 kB / 0.6594 GB, free: 1.332 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4348, allocations: 341.9 kB / 0.6597 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/0.4354, allocations: 317.8 kB / 0.66 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009493/0.4364, allocations: 0.7799 MB / 0.6608 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/0.4372, allocations: 458.3 kB / 0.6612 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.4372, allocations: 4 kB / 0.6612 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002532/0.4397, allocations: 1.343 MB / 0.6625 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.44, allocations: 423.8 kB / 0.6629 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.44, allocations: 15.94 kB / 0.6629 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007753/0.4408, allocations: 224.6 kB / 0.6632 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.4414, allocations: 191.6 kB / 0.6633 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006907/0.4421, allocations: 0.8367 MB / 0.6642 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.4432, allocations: 120.5 kB / 0.6643 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.4433, allocations: 47.98 kB / 0.6643 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.4433, allocations: 4 kB / 0.6643 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001725/0.445, allocations: 1.035 MB / 0.6653 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4451, allocations: 12 kB / 0.6653 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003555/0.4454, allocations: 157.5 kB / 0.6655 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.446, allocations: 163.7 kB / 0.6656 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.4484, allocations: 2.35 MB / 0.6679 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.4493, allocations: 116.5 kB / 0.6681 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.4494, allocations: 39.98 kB / 0.6681 GB, free: 7.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0006272/0.45, allocations: 0.5888 MB / 0.6687 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.4502, allocations: 177.8 kB / 0.6688 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.4523, allocations: 1.074 MB / 0.6699 GB, free: 6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4523, allocations: 7.953 kB / 0.6699 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4523, allocations: 4 kB / 0.6699 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/0.4539, allocations: 1.023 MB / 0.6709 GB, free: 4.898 MB / 0.4981 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.003387/0.4573, allocations: 2.327 MB / 0.6732 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4573, allocations: 4 kB / 0.6732 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.4578, allocations: 95.92 kB / 0.6733 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003042/0.4581, allocations: 144.8 kB / 0.6734 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.4582, allocations: 23.94 kB / 0.6734 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006215/0.4588, allocations: 0.7982 MB / 0.6742 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4588, allocations: 3.984 kB / 0.6742 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.4613, allocations: 1.495 MB / 0.6757 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.4618, allocations: 338.7 kB / 0.676 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.462, allocations: 15.98 kB / 0.676 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008846/0.4629, allocations: 95.89 kB / 0.6761 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.442e-05/0.463, allocations: 48.31 kB / 0.6761 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.463, allocations: 19.98 kB / 0.6762 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001588/0.4646, allocations: 1.282 MB / 0.6774 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4646, allocations: 0 / 0.6774 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0021/0.4667, allocations: 0.8463 MB / 0.6782 GB, free: 13.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (40): * Single equations (assignments): 34 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007067/0.4674, allocations: 358.8 kB / 0.6786 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002669/0.4701, allocations: 1.535 MB / 0.6801 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4701, allocations: 0 / 0.6801 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.4709, allocations: 367.6 kB / 0.6804 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.4742, allocations: 0.8434 MB / 0.6813 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.4785, allocations: 3.47 MB / 0.6846 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.4794, allocations: 1.499 MB / 0.6861 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001294/0.4807, allocations: 426 kB / 0.6865 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.481, allocations: 127.4 kB / 0.6866 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of SimCode: time 6.22e-07/0.481, allocations: 0 / 0.6866 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of Templates: time 0.04463/0.5256, allocations: 32.09 MB / 0.718 GB, free: 4.832 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)