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.001408/0.001408, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001454/0.001454, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7891/0.7891, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.84 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3487, allocations: 80.19 MB / 0.5815 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.02548/0.3742, allocations: 32.75 MB / 0.6135 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.3895, allocations: 10.46 MB / 0.6237 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.3912, allocations: 51.69 kB / 0.6237 GB, free: 3.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002225/0.3934, allocations: 0.7281 MB / 0.6244 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.3976, allocations: 1.569 MB / 0.626 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.4012, allocations: 1.417 MB / 0.6274 GB, free: 15.32 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005798/0.407, allocations: 4.878 MB / 0.6321 GB, free: 10.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002841/0.4098, allocations: 2.062 MB / 0.6341 GB, free: 8.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.4137, allocations: 1.905 MB / 0.636 GB, free: 6.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002223/0.416, allocations: 1.361 MB / 0.6373 GB, free: 5.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004027/0.4164, allocations: 140 kB / 0.6375 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.4191, allocations: 1.17 MB / 0.6386 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007332/0.4198, allocations: 474.2 kB / 0.6391 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.4216, allocations: 1.014 MB / 0.64 GB, free: 2.273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005533/0.4271, allocations: 2.928 MB / 0.6429 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4272, allocations: 0 / 0.6429 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4272, allocations: 0 / 0.6429 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.845e-05/0.4273, allocations: 8 kB / 0.6429 GB, free: 15.33 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.004775/0.4321, allocations: 2.384 MB / 0.6452 GB, free: 12.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4321, allocations: 12.03 kB / 0.6453 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.4334, allocations: 302.2 kB / 0.6455 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003671/0.4371, allocations: 1.687 MB / 0.6472 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.4372, allocations: 78 kB / 0.6473 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.4374, allocations: 107.9 kB / 0.6474 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002386/0.4398, allocations: 1.287 MB / 0.6486 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4398, allocations: 3.938 kB / 0.6486 GB, free: 9.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.44, allocations: 44 kB / 0.6487 GB, free: 9.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.44, allocations: 24 kB / 0.6487 GB, free: 9.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.4421, allocations: 0.9717 MB / 0.6496 GB, free: 8.238 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.008466/0.4505, allocations: 6.498 MB / 0.656 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.4518, allocations: 0.5869 MB / 0.6566 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.4525, allocations: 389.8 kB / 0.6569 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002973/0.4555, allocations: 1.685 MB / 0.6586 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007715/0.4563, allocations: 351.2 kB / 0.6589 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005258/0.4569, allocations: 83.39 kB / 0.659 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 4.107e-06/0.4569, allocations: 0 / 0.659 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003595/0.4605, allocations: 1.313 MB / 0.6603 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.4606, allocations: 59.34 kB / 0.6603 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.4634, allocations: 1.8 MB / 0.6621 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.995e-05/0.4635, allocations: 37.7 kB / 0.6621 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007564/0.4642, allocations: 0.85 MB / 0.663 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.4644, allocations: 157.8 kB / 0.6631 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.4647, allocations: 198.3 kB / 0.6633 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002543/0.4649, allocations: 334 kB / 0.6636 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.4656, allocations: 320.6 kB / 0.6639 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000919/0.4666, allocations: 0.7401 MB / 0.6646 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.4681, allocations: 0.9876 MB / 0.6656 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.4681, allocations: 4 kB / 0.6656 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002771/0.4709, allocations: 1.3 MB / 0.6669 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/0.471, allocations: 38.45 kB / 0.6669 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.471, allocations: 12 kB / 0.6669 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.4718, allocations: 190.3 kB / 0.6671 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.4725, allocations: 175.7 kB / 0.6673 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.4732, allocations: 0.7552 MB / 0.668 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.4744, allocations: 52.56 kB / 0.6681 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.4745, allocations: 47.98 kB / 0.6681 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/0.4757, allocations: 0.7087 MB / 0.6688 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008496/0.4766, allocations: 0.712 MB / 0.6695 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.478, allocations: 0.9288 MB / 0.6704 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.918e-06/0.478, allocations: 4 kB / 0.6704 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002359/0.4804, allocations: 1.261 MB / 0.6716 GB, free: 224 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.4804, allocations: 41.64 kB / 0.6717 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4804, allocations: 12.06 kB / 0.6717 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002574/0.4807, allocations: 128 kB / 0.6718 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.4814, allocations: 159.7 kB / 0.672 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.4837, allocations: 2.323 MB / 0.6742 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.4847, allocations: 56.58 kB / 0.6743 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/0.4848, allocations: 43.98 kB / 0.6743 GB, free: 13.32 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.0003055/0.4851, allocations: 239.9 kB / 0.6746 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.4855, allocations: 173.8 kB / 0.6747 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.4877, allocations: 0.9979 MB / 0.6757 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.4877, allocations: 11.94 kB / 0.6757 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4877, allocations: 0 / 0.6757 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.4892, allocations: 0.9506 MB / 0.6766 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/0.493, allocations: 2.104 MB / 0.6787 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.493, allocations: 7.984 kB / 0.6787 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004436/0.4935, allocations: 79.88 kB / 0.6788 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.4938, allocations: 127.4 kB / 0.6789 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.44e-05/0.4938, allocations: 11.98 kB / 0.6789 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005914/0.4944, allocations: 0.7474 MB / 0.6796 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4944, allocations: 0 / 0.6796 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4968, allocations: 1.345 MB / 0.681 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/0.4974, allocations: 298.8 kB / 0.6812 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.4976, allocations: 8 kB / 0.6812 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.4983, allocations: 31.97 kB / 0.6813 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.4984, allocations: 48.31 kB / 0.6813 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.4984, allocations: 19.97 kB / 0.6813 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001644/0.5001, allocations: 1.239 MB / 0.6826 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5001, allocations: 4.062 kB / 0.6826 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002044/0.5021, allocations: 0.7838 MB / 0.6833 GB, free: 3.848 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 (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.0009315/0.5031, allocations: 392.3 kB / 0.6837 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002734/0.5058, allocations: 1.469 MB / 0.6851 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5058, allocations: 0 / 0.6851 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.5065, allocations: 334.3 kB / 0.6854 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.5095, allocations: 0.7757 MB / 0.6862 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.5141, allocations: 2.875 MB / 0.689 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.5153, allocations: 1.495 MB / 0.6905 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001371/0.5167, allocations: 450 kB / 0.6909 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.517, allocations: 131.4 kB / 0.691 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.517, allocations: 3.938 kB / 0.691 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.05305/0.57, allocations: 31.51 MB / 0.7218 GB, free: 12.76 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)