Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001651/0.001651, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001753/0.001753, allocations: 189.7 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7917/0.7917, allocations: 135.1 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.91 kB / 0.5055 GB, free: 8.707 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4106, allocations: 80.91 MB / 0.5845 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03113/0.4418, allocations: 32.49 MB / 0.6162 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.4583, allocations: 10.41 MB / 0.6264 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.4607, allocations: 43.75 kB / 0.6264 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.4634, allocations: 0.6512 MB / 0.6271 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004913/0.4684, allocations: 1.455 MB / 0.6285 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.4723, allocations: 1.295 MB / 0.6298 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006673/0.479, allocations: 4.903 MB / 0.6346 GB, free: 7.441 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.4823, allocations: 2.066 MB / 0.6366 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.4871, allocations: 1.96 MB / 0.6385 GB, free: 3.383 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002633/0.4898, allocations: 1.404 MB / 0.6399 GB, free: 1.973 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006298/0.4904, allocations: 144 kB / 0.64 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.4936, allocations: 1.158 MB / 0.6411 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008512/0.4945, allocations: 478.2 kB / 0.6416 GB, free: 208 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.4969, allocations: 1.018 MB / 0.6426 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.5008, allocations: 2.233 MB / 0.6448 GB, free: 12.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.5008, allocations: 3.938 kB / 0.6448 GB, free: 12.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5008, allocations: 0 / 0.6448 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001075/0.5009, allocations: 0 / 0.6448 GB, free: 12.94 MB / 494.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.005823/0.5067, allocations: 2.384 MB / 0.6471 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.5068, allocations: 13.11 kB / 0.6471 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.5085, allocations: 302.2 kB / 0.6474 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003816/0.5123, allocations: 1.656 MB / 0.649 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.5125, allocations: 85.98 kB / 0.6491 GB, free: 8.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.5127, allocations: 104 kB / 0.6492 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.5153, allocations: 1.283 MB / 0.6504 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.5154, allocations: 7.938 kB / 0.6504 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.5155, allocations: 36 kB / 0.6505 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.5155, allocations: 27.94 kB / 0.6505 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.5176, allocations: 0.9912 MB / 0.6515 GB, free: 5.863 MB / 494.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.008984/0.5266, allocations: 6.734 MB / 0.6581 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.5279, allocations: 0.585 MB / 0.6586 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006921/0.5286, allocations: 398.4 kB / 0.659 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002994/0.5316, allocations: 1.69 MB / 0.6607 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007805/0.5324, allocations: 360.8 kB / 0.661 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007742/0.5332, allocations: 99.38 kB / 0.6611 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 4.288e-06/0.5333, allocations: 0 / 0.6611 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.00361/0.5369, allocations: 1.309 MB / 0.6624 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.5369, allocations: 59.34 kB / 0.6624 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.5399, allocations: 1.781 MB / 0.6642 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.54, allocations: 49.69 kB / 0.6642 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008805/0.5409, allocations: 0.85 MB / 0.665 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.5412, allocations: 169.7 kB / 0.6652 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.5415, allocations: 186.4 kB / 0.6654 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5417, allocations: 338 kB / 0.6657 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007016/0.5424, allocations: 316.6 kB / 0.666 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.5434, allocations: 0.7479 MB / 0.6667 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.545, allocations: 0.9876 MB / 0.6677 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.545, allocations: 0 / 0.6677 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002914/0.5479, allocations: 1.309 MB / 0.669 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.548, allocations: 41.83 kB / 0.669 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.548, allocations: 8 kB / 0.669 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.5487, allocations: 188.7 kB / 0.6692 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.5493, allocations: 171.7 kB / 0.6694 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006933/0.55, allocations: 0.7553 MB / 0.6701 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.5514, allocations: 92.5 kB / 0.6702 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5515, allocations: 47.97 kB / 0.6702 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001271/0.5528, allocations: 0.7173 MB / 0.6709 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000866/0.5537, allocations: 0.7011 MB / 0.6716 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001359/0.555, allocations: 0.9287 MB / 0.6725 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.977e-06/0.555, allocations: 4 kB / 0.6725 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.0026/0.5577, allocations: 1.281 MB / 0.6738 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.5577, allocations: 33.7 kB / 0.6738 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.5577, allocations: 12 kB / 0.6738 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.558, allocations: 119.4 kB / 0.6739 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.5586, allocations: 167.9 kB / 0.6741 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.5611, allocations: 2.322 MB / 0.6764 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5625, allocations: 84.66 kB / 0.6765 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/0.5626, allocations: 47.98 kB / 0.6765 GB, free: 10.53 MB / 0.5137 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.563, allocations: 251 kB / 0.6767 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/0.5635, allocations: 169.8 kB / 0.6769 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/0.5659, allocations: 1.008 MB / 0.6779 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5659, allocations: 4 kB / 0.6779 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5659, allocations: 4 kB / 0.6779 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001483/0.5674, allocations: 0.9528 MB / 0.6788 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004362/0.5718, allocations: 2.109 MB / 0.6809 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5718, allocations: 3.938 kB / 0.6809 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004662/0.5723, allocations: 87.86 kB / 0.681 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/0.5726, allocations: 128.9 kB / 0.6811 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.5727, allocations: 11.98 kB / 0.6811 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005951/0.5733, allocations: 0.7396 MB / 0.6818 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5733, allocations: 0 / 0.6818 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002542/0.5758, allocations: 1.359 MB / 0.6832 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007701/0.5766, allocations: 302.8 kB / 0.6834 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004232/0.577, allocations: 11.94 kB / 0.6835 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5781, allocations: 71.98 kB / 0.6835 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5782, allocations: 36.33 kB / 0.6836 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.198e-05/0.5783, allocations: 31.91 kB / 0.6836 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002141/0.5804, allocations: 1.231 MB / 0.6848 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5804, allocations: 0 / 0.6848 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002786/0.5832, allocations: 0.7916 MB / 0.6856 GB, free: 0.9727 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/0.5844, allocations: 379.8 kB / 0.6859 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003299/0.5877, allocations: 1.529 MB / 0.6874 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5877, allocations: 0 / 0.6874 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.5885, allocations: 338.5 kB / 0.6877 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/0.5925, allocations: 0.7793 MB / 0.6885 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.5988, allocations: 3.524 MB / 0.6919 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001325/0.6002, allocations: 1.48 MB / 0.6934 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/0.6007, allocations: 131.4 kB / 0.6935 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.6007, allocations: 3.938 kB / 0.6935 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of Templates: time 0.05504/0.6558, allocations: 37.13 MB / 0.7298 GB, free: 3.82 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)