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.001318/0.001318, allocations: 109.5 kB / 16.27 MB, free: 6.004 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.001261/0.001261, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8496/0.8496, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 67.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3565, allocations: 80.92 MB / 0.5851 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02665/0.3833, allocations: 32.73 MB / 0.617 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01624/0.3995, allocations: 10.47 MB / 0.6272 GB, free: 15.28 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.4015, allocations: 51.69 kB / 0.6273 GB, free: 15.23 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.4039, allocations: 0.7283 MB / 0.628 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004604/0.4086, allocations: 1.574 MB / 0.6295 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.4124, allocations: 1.401 MB / 0.6309 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007164/0.4195, allocations: 4.869 MB / 0.6357 GB, free: 6.637 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003569/0.4232, allocations: 2.066 MB / 0.6377 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.4281, allocations: 1.903 MB / 0.6395 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.4311, allocations: 1.365 MB / 0.6409 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006805/0.4318, allocations: 140 kB / 0.641 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003411/0.4352, allocations: 1.166 MB / 0.6421 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009505/0.4362, allocations: 470.2 kB / 0.6426 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.4385, allocations: 1.003 MB / 0.6436 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00571/0.4442, allocations: 2.905 MB / 0.6464 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.4442, allocations: 0 / 0.6464 GB, free: 11.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.4443, allocations: 0 / 0.6464 GB, free: 11.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001082/0.4444, allocations: 3.938 kB / 0.6464 GB, free: 11.57 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.005504/0.4499, allocations: 2.376 MB / 0.6487 GB, free: 9.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4499, allocations: 13.11 kB / 0.6487 GB, free: 9.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.4513, allocations: 302.2 kB / 0.649 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003452/0.4548, allocations: 1.617 MB / 0.6506 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4549, allocations: 82 kB / 0.6507 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.4551, allocations: 104 kB / 0.6508 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/0.4576, allocations: 1.292 MB / 0.6521 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.4577, allocations: 4 kB / 0.6521 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.4578, allocations: 36 kB / 0.6521 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.4578, allocations: 24 kB / 0.6521 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.4599, allocations: 0.9795 MB / 0.6531 GB, free: 4.559 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.009169/0.469, allocations: 6.525 MB / 0.6594 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4704, allocations: 0.5832 MB / 0.66 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.4712, allocations: 395 kB / 0.6604 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003082/0.4743, allocations: 1.696 MB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007979/0.4751, allocations: 355.5 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005421/0.4757, allocations: 75.41 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 5.009e-06/0.4757, allocations: 0 / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00365/0.4793, allocations: 1.316 MB / 0.6637 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4794, allocations: 55.41 kB / 0.6638 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.4823, allocations: 1.796 MB / 0.6656 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.4825, allocations: 45.7 kB / 0.6656 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.4835, allocations: 0.8538 MB / 0.6664 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.4838, allocations: 153.8 kB / 0.6666 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.4841, allocations: 190.3 kB / 0.6668 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4843, allocations: 338 kB / 0.6671 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.4851, allocations: 320.6 kB / 0.6674 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4861, allocations: 0.7362 MB / 0.6681 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/0.4879, allocations: 0.9954 MB / 0.6691 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.4879, allocations: 4 kB / 0.6691 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003056/0.491, allocations: 1.3 MB / 0.6703 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.4911, allocations: 40.05 kB / 0.6704 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.4911, allocations: 8 kB / 0.6704 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007103/0.4918, allocations: 201.3 kB / 0.6706 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.4925, allocations: 167.7 kB / 0.6707 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/0.4933, allocations: 0.7552 MB / 0.6715 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.4943, allocations: 56.62 kB / 0.6715 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.4945, allocations: 43.98 kB / 0.6716 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.4958, allocations: 0.7126 MB / 0.6723 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009499/0.4968, allocations: 0.7128 MB / 0.673 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001445/0.4982, allocations: 0.921 MB / 0.6739 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.007e-05/0.4983, allocations: 7.984 kB / 0.6739 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002672/0.5009, allocations: 1.276 MB / 0.6751 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.725e-05/0.501, allocations: 33.7 kB / 0.6752 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.501, allocations: 12.75 kB / 0.6752 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/0.5013, allocations: 123.8 kB / 0.6753 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.5019, allocations: 163.7 kB / 0.6754 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.5046, allocations: 2.322 MB / 0.6777 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.5057, allocations: 52.58 kB / 0.6778 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.5059, allocations: 43.98 kB / 0.6778 GB, free: 9.598 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.0003853/0.5062, allocations: 242.9 kB / 0.678 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.5068, allocations: 173.9 kB / 0.6782 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.5092, allocations: 0.9939 MB / 0.6792 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5092, allocations: 11.94 kB / 0.6792 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5092, allocations: 0 / 0.6792 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/0.5109, allocations: 0.9467 MB / 0.6801 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.5154, allocations: 2.097 MB / 0.6822 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.5155, allocations: 4 kB / 0.6822 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.5159, allocations: 83.86 kB / 0.6822 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003274/0.5163, allocations: 131.9 kB / 0.6824 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/0.5163, allocations: 19.98 kB / 0.6824 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000673/0.517, allocations: 0.7358 MB / 0.6831 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.517, allocations: 0 / 0.6831 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.5198, allocations: 1.352 MB / 0.6844 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/0.5205, allocations: 298.8 kB / 0.6847 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.5209, allocations: 12 kB / 0.6847 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/0.5217, allocations: 35.97 kB / 0.6848 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.5218, allocations: 40.38 kB / 0.6848 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/0.5219, allocations: 23.98 kB / 0.6848 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002209/0.5241, allocations: 1.243 MB / 0.686 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5241, allocations: 0 / 0.686 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002765/0.5269, allocations: 0.7759 MB / 0.6868 GB, free: 128 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.001239/0.5281, allocations: 390.4 kB / 0.6872 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.5317, allocations: 1.519 MB / 0.6886 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5317, allocations: 0 / 0.6886 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.5325, allocations: 335.7 kB / 0.689 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.5364, allocations: 0.7775 MB / 0.6897 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006275/0.5427, allocations: 2.961 MB / 0.6926 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.5443, allocations: 1.48 MB / 0.6941 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004831/0.5448, allocations: 131.4 kB / 0.6942 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/0.5449, allocations: 0 / 0.6942 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of Templates: time 0.06103/0.6059, allocations: 37.3 MB / 0.7306 GB, free: 3.375 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)