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.001482/0.001482, allocations: 106.5 kB / 16.27 MB, free: 6.41 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.001471/0.001472, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.325/1.325, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8116/0.8116, allocations: 135.2 MB / 426.2 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3415, allocations: 80.92 MB / 0.5851 GB, free: 25.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02501/0.3666, allocations: 32.74 MB / 0.617 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3823, allocations: 10.47 MB / 0.6272 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.384, allocations: 47.75 kB / 0.6273 GB, free: 15.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.3862, allocations: 0.7361 MB / 0.628 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004461/0.3907, allocations: 1.575 MB / 0.6295 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.3945, allocations: 1.398 MB / 0.6309 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006258/0.4008, allocations: 4.867 MB / 0.6357 GB, free: 6.609 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003056/0.4039, allocations: 2.07 MB / 0.6377 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004418/0.4083, allocations: 1.892 MB / 0.6395 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.4107, allocations: 1.365 MB / 0.6409 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.4111, allocations: 143.9 kB / 0.641 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.4138, allocations: 1.158 MB / 0.6421 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.4145, allocations: 474.2 kB / 0.6426 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.4163, allocations: 1.01 MB / 0.6436 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004492/0.4208, allocations: 2.901 MB / 0.6464 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4209, allocations: 0 / 0.6464 GB, free: 11.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4209, allocations: 3.938 kB / 0.6464 GB, free: 11.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.417e-05/0.4209, allocations: 0 / 0.6464 GB, free: 11.55 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.003935/0.4249, allocations: 2.38 MB / 0.6487 GB, free: 9.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4249, allocations: 17.11 kB / 0.6488 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.4261, allocations: 294.2 kB / 0.649 GB, free: 8.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.4289, allocations: 1.617 MB / 0.6506 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.921e-05/0.4291, allocations: 82 kB / 0.6507 GB, free: 7.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/0.4292, allocations: 104 kB / 0.6508 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.4315, allocations: 1.286 MB / 0.652 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.4315, allocations: 3.938 kB / 0.6521 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.4317, allocations: 44 kB / 0.6521 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.4317, allocations: 24 kB / 0.6521 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.4336, allocations: 0.9756 MB / 0.6531 GB, free: 4.539 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.008377/0.442, allocations: 6.529 MB / 0.6594 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.4433, allocations: 0.5817 MB / 0.66 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/0.444, allocations: 403 kB / 0.6604 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002657/0.4467, allocations: 1.692 MB / 0.662 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007558/0.4475, allocations: 355.6 kB / 0.6624 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004815/0.448, allocations: 79.39 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.448, allocations: 0 / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003481/0.4515, allocations: 1.312 MB / 0.6637 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4515, allocations: 63.39 kB / 0.6638 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.4541, allocations: 1.793 MB / 0.6656 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4542, allocations: 41.7 kB / 0.6656 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008396/0.4551, allocations: 0.85 MB / 0.6664 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.4553, allocations: 157.8 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.4556, allocations: 190.4 kB / 0.6668 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4557, allocations: 341.9 kB / 0.6671 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.4564, allocations: 312.6 kB / 0.6674 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.4575, allocations: 0.7439 MB / 0.6681 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.4591, allocations: 0.9915 MB / 0.6691 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.4591, allocations: 4 kB / 0.6691 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002688/0.4618, allocations: 1.296 MB / 0.6703 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.4619, allocations: 43.88 kB / 0.6704 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.4619, allocations: 8 kB / 0.6704 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006716/0.4626, allocations: 193.4 kB / 0.6706 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/0.4632, allocations: 171.7 kB / 0.6707 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/0.4639, allocations: 0.7696 MB / 0.6715 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.4649, allocations: 40.64 kB / 0.6715 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.465, allocations: 51.97 kB / 0.6716 GB, free: 488 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001217/0.4662, allocations: 0.7125 MB / 0.6723 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009088/0.4671, allocations: 0.7089 MB / 0.673 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001403/0.4685, allocations: 0.9249 MB / 0.6739 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.4685, allocations: 4 kB / 0.6739 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002445/0.471, allocations: 1.268 MB / 0.6751 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/0.471, allocations: 33.7 kB / 0.6752 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.4711, allocations: 16.73 kB / 0.6752 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.4713, allocations: 120.7 kB / 0.6753 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.4719, allocations: 167.7 kB / 0.6754 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.4743, allocations: 2.325 MB / 0.6777 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000952/0.4753, allocations: 52.56 kB / 0.6778 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.4753, allocations: 44 kB / 0.6778 GB, free: 9.578 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 (84): * Single equations (assignments): 81 * 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.0002935/0.4756, allocations: 248 kB / 0.678 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.4759, allocations: 173.9 kB / 0.6782 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.4781, allocations: 0.9977 MB / 0.6792 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4781, allocations: 7.938 kB / 0.6792 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.4781, allocations: 0 / 0.6792 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/0.4796, allocations: 0.9506 MB / 0.6801 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.4834, allocations: 2.093 MB / 0.6822 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.4835, allocations: 0 / 0.6822 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.4839, allocations: 87.86 kB / 0.6822 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002927/0.4842, allocations: 124.8 kB / 0.6824 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.4843, allocations: 19.92 kB / 0.6824 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006205/0.4849, allocations: 0.732 MB / 0.6831 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4849, allocations: 0 / 0.6831 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.4874, allocations: 1.356 MB / 0.6844 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.488, allocations: 302.8 kB / 0.6847 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.4882, allocations: 12 kB / 0.6847 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.4888, allocations: 35.97 kB / 0.6848 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4889, allocations: 40.38 kB / 0.6848 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/0.489, allocations: 23.98 kB / 0.6848 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001736/0.4907, allocations: 1.239 MB / 0.686 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4908, allocations: 0 / 0.686 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002109/0.4929, allocations: 0.7759 MB / 0.6868 GB, free: 108 kB / 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 (39): * Single equations (assignments): 33 * 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.0009183/0.4938, allocations: 401.3 kB / 0.6872 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.4968, allocations: 1.515 MB / 0.6886 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.4968, allocations: 0 / 0.6886 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.4975, allocations: 335.7 kB / 0.689 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.5008, allocations: 0.7682 MB / 0.6897 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/0.5057, allocations: 2.965 MB / 0.6926 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.5068, allocations: 1.483 MB / 0.6941 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.5072, allocations: 135.4 kB / 0.6942 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.5072, allocations: 0 / 0.6942 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of Templates: time 0.05209/0.5593, allocations: 37.29 MB / 0.7306 GB, free: 3.359 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)