Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001592/0.001592, allocations: 195.1 kB / 16.26 MB, free: 6.629 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.941/0.941, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 71.72 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 81.02 MB / 0.5845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.2628/0.4293, allocations: 29.38 MB / 0.6132 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.4411, allocations: 9.836 MB / 0.6228 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.4425, allocations: 41.75 kB / 0.6228 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.4442, allocations: 0.6081 MB / 0.6234 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.4472, allocations: 1.356 MB / 0.6247 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.4497, allocations: 1.267 MB / 0.626 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003015/0.4527, allocations: 3.852 MB / 0.6297 GB, free: 28.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.4539, allocations: 1.363 MB / 0.6311 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.4559, allocations: 1.519 MB / 0.6326 GB, free: 27.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.4567, allocations: 1.084 MB / 0.6336 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.4569, allocations: 123.8 kB / 0.6337 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4585, allocations: 1.133 MB / 0.6348 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.4588, allocations: 398.3 kB / 0.6352 GB, free: 26.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.4593, allocations: 0.7877 MB / 0.636 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.4612, allocations: 2.439 MB / 0.6384 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4612, allocations: 0 / 0.6384 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4612, allocations: 0 / 0.6384 GB, free: 25.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.4612, allocations: 0 / 0.6384 GB, free: 25.29 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00236/0.4636, allocations: 1.943 MB / 0.6403 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.4636, allocations: 11.31 kB / 0.6403 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009559/0.4646, allocations: 251.9 kB / 0.6405 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.4663, allocations: 1.33 MB / 0.6418 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.4664, allocations: 67.44 kB / 0.6419 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4665, allocations: 89.56 kB / 0.642 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.4679, allocations: 0.9768 MB / 0.6429 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4679, allocations: 6.562 kB / 0.6429 GB, free: 22.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/0.468, allocations: 35.06 kB / 0.643 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.468, allocations: 19.72 kB / 0.643 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4692, allocations: 0.7105 MB / 0.6437 GB, free: 22.37 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.004323/0.4735, allocations: 4.936 MB / 0.6485 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4747, allocations: 0.5674 MB / 0.649 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.4753, allocations: 321.3 kB / 0.6494 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/0.4771, allocations: 1.568 MB / 0.6509 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006368/0.4777, allocations: 337 kB / 0.6512 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003367/0.4781, allocations: 80.64 kB / 0.6513 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.944e-06/0.4781, allocations: 0 / 0.6513 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.002974/0.4811, allocations: 1.166 MB / 0.6524 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4811, allocations: 60.98 kB / 0.6525 GB, free: 16.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4828, allocations: 1.262 MB / 0.6537 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.4828, allocations: 43.39 kB / 0.6538 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.4833, allocations: 0.6467 MB / 0.6544 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4834, allocations: 152.3 kB / 0.6545 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.4836, allocations: 164.6 kB / 0.6547 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.4837, allocations: 337.3 kB / 0.655 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.4843, allocations: 267.5 kB / 0.6553 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006722/0.4849, allocations: 0.595 MB / 0.6558 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.4861, allocations: 0.8128 MB / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4861, allocations: 2.25 kB / 0.6566 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002059/0.4882, allocations: 1.098 MB / 0.6577 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.4882, allocations: 39.2 kB / 0.6578 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4882, allocations: 8.656 kB / 0.6578 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.4889, allocations: 181.4 kB / 0.6579 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.4894, allocations: 147.3 kB / 0.6581 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006036/0.49, allocations: 0.7698 MB / 0.6588 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/0.4909, allocations: 76.53 kB / 0.6589 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/0.4909, allocations: 37.22 kB / 0.6589 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008285/0.4918, allocations: 0.5613 MB / 0.6595 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005633/0.4923, allocations: 0.5533 MB / 0.66 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009763/0.4933, allocations: 0.7484 MB / 0.6608 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/0.4933, allocations: 1.312 kB / 0.6608 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001831/0.4952, allocations: 1.061 MB / 0.6618 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.4952, allocations: 39.95 kB / 0.6618 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.4952, allocations: 8.531 kB / 0.6618 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.4955, allocations: 107.7 kB / 0.6619 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.496, allocations: 141.6 kB / 0.6621 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.4981, allocations: 2.398 MB / 0.6644 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009547/0.4991, allocations: 77.38 kB / 0.6645 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.4991, allocations: 38.81 kB / 0.6645 GB, free: 8.641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003711/0.4995, allocations: 233.1 kB / 0.6648 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.4997, allocations: 127.5 kB / 0.6649 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.5018, allocations: 0.881 MB / 0.6657 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.5018, allocations: 6.438 kB / 0.6657 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.5018, allocations: 4 kB / 0.6657 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/0.5032, allocations: 0.8819 MB / 0.6666 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.5066, allocations: 1.786 MB / 0.6683 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5066, allocations: 0.8438 kB / 0.6683 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.507, allocations: 78.12 kB / 0.6684 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.5073, allocations: 125 kB / 0.6685 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.5073, allocations: 12.38 kB / 0.6686 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005128/0.5078, allocations: 0.7603 MB / 0.6693 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.5079, allocations: 3.984 kB / 0.6693 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.51, allocations: 1.175 MB / 0.6704 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/0.5105, allocations: 258.1 kB / 0.6707 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.5106, allocations: 8.578 kB / 0.6707 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.5112, allocations: 59.61 kB / 0.6708 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.5114, allocations: 36.61 kB / 0.6708 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.5114, allocations: 25.42 kB / 0.6708 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001162/0.5126, allocations: 0.8792 MB / 0.6717 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5126, allocations: 0 / 0.6717 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001848/0.5144, allocations: 0.6403 MB / 0.6723 GB, free: 4.676 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (40): * Single equations (assignments): 34 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000848/0.5153, allocations: 376.3 kB / 0.6727 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002827/0.5181, allocations: 1.384 MB / 0.674 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.5182, allocations: 1.344 kB / 0.674 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.5189, allocations: 332.6 kB / 0.6743 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.5212, allocations: 0.6034 MB / 0.6749 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.5249, allocations: 2.705 MB / 0.6776 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/0.5257, allocations: 1.273 MB / 0.6788 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001284/0.527, allocations: 309.8 kB / 0.6791 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.5272, allocations: 100.3 kB / 0.6792 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of SimCode: time 7.92e-07/0.5272, allocations: 0 / 0.6792 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.04505/0.5722, allocations: 25.42 MB / 0.704 GB, free: 0.9609 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)