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.001472/0.001472, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001717/0.001717, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 67.72 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1685, allocations: 80.93 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.2941/0.4627, allocations: 32.47 MB / 0.6156 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01307/0.4758, allocations: 10.4 MB / 0.6257 GB, free: 30.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.4781, allocations: 48.78 kB / 0.6258 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002243/0.4804, allocations: 0.6581 MB / 0.6264 GB, free: 29.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.4845, allocations: 1.45 MB / 0.6279 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.4878, allocations: 1.295 MB / 0.6291 GB, free: 28.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.4929, allocations: 4.906 MB / 0.6339 GB, free: 26.1 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.4954, allocations: 2.068 MB / 0.6359 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.4993, allocations: 1.96 MB / 0.6378 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002125/0.5014, allocations: 1.406 MB / 0.6392 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000275/0.5017, allocations: 144.1 kB / 0.6394 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.5042, allocations: 1.164 MB / 0.6405 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.5046, allocations: 468.2 kB / 0.6409 GB, free: 23.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.5058, allocations: 1.015 MB / 0.6419 GB, free: 22.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.5091, allocations: 2.923 MB / 0.6448 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5091, allocations: 4 kB / 0.6448 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.816e-06/0.5091, allocations: 0 / 0.6448 GB, free: 21.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.5091, allocations: 0 / 0.6448 GB, free: 21.45 MB / 0.4981 GB 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.003559/0.5127, allocations: 2.387 MB / 0.6471 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5128, allocations: 10.03 kB / 0.6471 GB, free: 19.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.5141, allocations: 304.7 kB / 0.6474 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003069/0.5171, allocations: 1.644 MB / 0.649 GB, free: 18.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.5172, allocations: 82.56 kB / 0.6491 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.5174, allocations: 108.3 kB / 0.6492 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5196, allocations: 1.283 MB / 0.6505 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.5196, allocations: 2.312 kB / 0.6505 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5197, allocations: 42.38 kB / 0.6505 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5198, allocations: 23.16 kB / 0.6505 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.5217, allocations: 0.9919 MB / 0.6515 GB, free: 17.87 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 preOpt removeSimpleEquations (simulation): time 0.007417/0.5291, allocations: 6.735 MB / 0.6581 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.5305, allocations: 0.5932 MB / 0.6586 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007327/0.5312, allocations: 393 kB / 0.659 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/0.5342, allocations: 1.678 MB / 0.6607 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000809/0.535, allocations: 363.2 kB / 0.661 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000735/0.5357, allocations: 104.1 kB / 0.6611 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 3.617e-06/0.5357, allocations: 3.984 kB / 0.6611 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003563/0.5393, allocations: 1.312 MB / 0.6624 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.5394, allocations: 57.56 kB / 0.6624 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.5419, allocations: 1.784 MB / 0.6642 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/0.542, allocations: 39.73 kB / 0.6642 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007198/0.5427, allocations: 0.8586 MB / 0.6651 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.5429, allocations: 159.8 kB / 0.6652 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.5432, allocations: 190.8 kB / 0.6654 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.5432, allocations: 335.5 kB / 0.6657 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006475/0.5439, allocations: 322.8 kB / 0.666 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.5448, allocations: 0.7497 MB / 0.6668 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.5462, allocations: 0.9873 MB / 0.6677 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/0.5463, allocations: 3.875 kB / 0.6677 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002717/0.549, allocations: 1.307 MB / 0.669 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.549, allocations: 41.55 kB / 0.669 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.5491, allocations: 9.5 kB / 0.669 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/0.5497, allocations: 182.6 kB / 0.6692 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.5504, allocations: 172.8 kB / 0.6694 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006283/0.551, allocations: 0.7665 MB / 0.6701 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.5526, allocations: 88.31 kB / 0.6702 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5527, allocations: 53.55 kB / 0.6703 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001532/0.5542, allocations: 0.7103 MB / 0.671 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000847/0.5551, allocations: 0.7058 MB / 0.6717 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001234/0.5563, allocations: 0.9274 MB / 0.6726 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.302e-06/0.5563, allocations: 2.875 kB / 0.6726 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization_lambda0): time 0.002256/0.5586, allocations: 1.276 MB / 0.6738 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.5587, allocations: 37.75 kB / 0.6738 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5587, allocations: 11.58 kB / 0.6739 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.5589, allocations: 121.3 kB / 0.674 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.5595, allocations: 168.4 kB / 0.6741 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.5616, allocations: 2.317 MB / 0.6764 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5629, allocations: 87.8 kB / 0.6765 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.563, allocations: 46.08 kB / 0.6765 GB, free: 1.469 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 (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.0003505/0.5634, allocations: 244.9 kB / 0.6768 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.5636, allocations: 172.6 kB / 0.6769 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.566, allocations: 1.007 MB / 0.6779 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.566, allocations: 10.92 kB / 0.6779 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.566, allocations: 1.281 kB / 0.6779 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001463/0.5675, allocations: 0.9504 MB / 0.6788 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0043/0.5718, allocations: 2.103 MB / 0.6809 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5718, allocations: 3.938 kB / 0.6809 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.5723, allocations: 85.89 kB / 0.681 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003203/0.5726, allocations: 131.6 kB / 0.6811 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/0.5727, allocations: 18.89 kB / 0.6811 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006146/0.5733, allocations: 0.7363 MB / 0.6818 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5733, allocations: 5.031 kB / 0.6819 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.5759, allocations: 1.362 MB / 0.6832 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.5767, allocations: 300 kB / 0.6835 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.5769, allocations: 12.53 kB / 0.6835 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.5776, allocations: 65.55 kB / 0.6835 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.5778, allocations: 38.94 kB / 0.6836 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/0.5778, allocations: 25.02 kB / 0.6836 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001954/0.5798, allocations: 1.231 MB / 0.6848 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5798, allocations: 4 kB / 0.6848 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002608/0.5824, allocations: 0.7867 MB / 0.6856 GB, free: 13.04 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.0009419/0.5834, allocations: 373.5 kB / 0.6859 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003217/0.5866, allocations: 1.532 MB / 0.6874 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5866, allocations: 0 / 0.6874 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007889/0.5874, allocations: 343.6 kB / 0.6878 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/0.5914, allocations: 0.7782 MB / 0.6885 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.5979, allocations: 3.482 MB / 0.6919 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.5996, allocations: 1.493 MB / 0.6934 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002236/0.6018, allocations: 452.4 kB / 0.6938 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004264/0.6023, allocations: 126 kB / 0.6939 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/0.6023, allocations: 0 / 0.6939 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of Templates: time 0.06145/0.6637, allocations: 31.26 MB / 0.7244 GB, free: 11.8 MB / 0.545 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)