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.001062/0.001062, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.006643/0.006643, allocations: 172.3 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9304/0.9304, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004799, allocations: 8.656 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 82.3 MB / 0.588 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.3033/0.4593, allocations: 28.7 MB / 0.616 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01347/0.4728, allocations: 9.847 MB / 0.6256 GB, free: 32.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.4741, allocations: 46.53 kB / 0.6256 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.4756, allocations: 0.5909 MB / 0.6262 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00277/0.4784, allocations: 1.348 MB / 0.6275 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.4812, allocations: 1.23 MB / 0.6287 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004387/0.4856, allocations: 5.005 MB / 0.6336 GB, free: 29.08 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.4869, allocations: 1.123 MB / 0.6347 GB, free: 28.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.489, allocations: 1.265 MB / 0.636 GB, free: 28.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.4904, allocations: 1.013 MB / 0.637 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.4905, allocations: 48 kB / 0.637 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.4928, allocations: 1.056 MB / 0.638 GB, free: 27.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.4931, allocations: 319.6 kB / 0.6383 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.4938, allocations: 0.732 MB / 0.639 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.4963, allocations: 2.329 MB / 0.6413 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4963, allocations: 2.906 kB / 0.6413 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.636e-06/0.4963, allocations: 0 / 0.6413 GB, free: 26.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.4963, allocations: 3.938 kB / 0.6413 GB, free: 26.04 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.002648/0.499, allocations: 1.67 MB / 0.643 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.499, allocations: 9.375 kB / 0.643 GB, free: 24.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.5, allocations: 256.8 kB / 0.6432 GB, free: 24.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.5021, allocations: 1.323 MB / 0.6445 GB, free: 24.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/0.5022, allocations: 68.78 kB / 0.6446 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5023, allocations: 90.52 kB / 0.6447 GB, free: 24.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.5038, allocations: 0.9803 MB / 0.6456 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.5038, allocations: 6.609 kB / 0.6456 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-05/0.5039, allocations: 35.11 kB / 0.6457 GB, free: 23.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.5039, allocations: 22.38 kB / 0.6457 GB, free: 23.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.5052, allocations: 0.7279 MB / 0.6464 GB, free: 23.29 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.005083/0.5103, allocations: 4.965 MB / 0.6512 GB, free: 19.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.5116, allocations: 0.5704 MB / 0.6518 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007106/0.5123, allocations: 324 kB / 0.6521 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/0.5146, allocations: 1.567 MB / 0.6536 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007487/0.5154, allocations: 334.9 kB / 0.654 GB, free: 17.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004247/0.5158, allocations: 98.92 kB / 0.654 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.5158, allocations: 0.875 kB / 0.654 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.00317/0.519, allocations: 1.176 MB / 0.6552 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5191, allocations: 56.78 kB / 0.6552 GB, free: 17.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.5208, allocations: 1.265 MB / 0.6565 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.5209, allocations: 43.05 kB / 0.6565 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.5213, allocations: 0.6482 MB / 0.6572 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5214, allocations: 150.8 kB / 0.6573 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.5215, allocations: 67.64 kB / 0.6574 GB, free: 16.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.5216, allocations: 337.9 kB / 0.6577 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005982/0.5222, allocations: 268 kB / 0.6579 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000708/0.523, allocations: 0.5962 MB / 0.6585 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.5242, allocations: 0.8131 MB / 0.6593 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.5242, allocations: 2.609 kB / 0.6593 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002194/0.5264, allocations: 1.103 MB / 0.6604 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.5266, allocations: 357.8 kB / 0.6607 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5266, allocations: 11.53 kB / 0.6608 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.5272, allocations: 183.9 kB / 0.6609 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.5278, allocations: 145.9 kB / 0.6611 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006245/0.5284, allocations: 0.7678 MB / 0.6618 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/0.5294, allocations: 83.97 kB / 0.6619 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.5294, allocations: 36.3 kB / 0.6619 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.5295, allocations: 5.297 kB / 0.6619 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/0.5311, allocations: 0.9208 MB / 0.6628 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5311, allocations: 8.281 kB / 0.6628 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/0.5313, allocations: 110 kB / 0.6629 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.5318, allocations: 139 kB / 0.6631 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.5336, allocations: 2.152 MB / 0.6652 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007895/0.5344, allocations: 81.11 kB / 0.6653 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.5345, allocations: 34.11 kB / 0.6653 GB, free: 10.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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.0007322/0.5353, allocations: 475 kB / 0.6657 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.5354, allocations: 130.9 kB / 0.6659 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.5372, allocations: 0.8635 MB / 0.6667 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5372, allocations: 13.84 kB / 0.6667 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5372, allocations: 112 / 0.6667 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/0.5385, allocations: 0.8795 MB / 0.6676 GB, free: 9.535 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 postOpt removeSimpleEquations (simulation): time 0.002938/0.5414, allocations: 1.858 MB / 0.6694 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5414, allocations: 5.344 kB / 0.6694 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/0.5418, allocations: 73.19 kB / 0.6695 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/0.5421, allocations: 122 kB / 0.6696 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.793e-05/0.5421, allocations: 19.38 kB / 0.6696 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005096/0.5427, allocations: 0.7529 MB / 0.6703 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5427, allocations: 5.344 kB / 0.6703 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.5447, allocations: 1.179 MB / 0.6715 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/0.5452, allocations: 278.3 kB / 0.6718 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.5453, allocations: 12.42 kB / 0.6718 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.546, allocations: 68.11 kB / 0.6718 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.5461, allocations: 35.95 kB / 0.6719 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.5462, allocations: 22 kB / 0.6719 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001253/0.5474, allocations: 0.8746 MB / 0.6728 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5474, allocations: 1.25 kB / 0.6728 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002009/0.5494, allocations: 0.6469 MB / 0.6734 GB, free: 6.707 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008674/0.5503, allocations: 366.2 kB / 0.6737 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.5531, allocations: 1.329 MB / 0.675 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5531, allocations: 1.062 kB / 0.675 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.5539, allocations: 324.7 kB / 0.6753 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/0.5568, allocations: 0.5682 MB / 0.6759 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.561, allocations: 2.733 MB / 0.6786 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.562, allocations: 1.273 MB / 0.6798 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001623/0.5637, allocations: 302.3 kB / 0.6801 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.564, allocations: 99.27 kB / 0.6802 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of SimCode: time 1.333e-06/0.564, allocations: 1.344 kB / 0.6802 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.04732/0.6113, allocations: 24.37 MB / 0.704 GB, free: 4.207 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)