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.0009125/0.0009124, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001036/0.001036, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8752/0.8752, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 82.32 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.2872/0.4299, allocations: 24.79 MB / 0.6114 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.4411, allocations: 8.639 MB / 0.6198 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.4425, allocations: 35.94 kB / 0.6199 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.4441, allocations: 0.5298 MB / 0.6204 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.4479, allocations: 1.36 MB / 0.6217 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.4514, allocations: 1.326 MB / 0.623 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.4545, allocations: 2.212 MB / 0.6252 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.4558, allocations: 0.9994 MB / 0.6261 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.4576, allocations: 1.022 MB / 0.6271 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007069/0.4583, allocations: 0.6999 MB / 0.6278 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.4584, allocations: 55.03 kB / 0.6279 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001552/0.46, allocations: 0.7309 MB / 0.6286 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.4603, allocations: 295.8 kB / 0.6289 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.4606, allocations: 321.4 kB / 0.6292 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.462, allocations: 1.738 MB / 0.6309 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.462, allocations: 0 / 0.6309 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.462, allocations: 2.844 kB / 0.6309 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.462, allocations: 4 kB / 0.6309 GB, free: 30.95 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.002435/0.4645, allocations: 1.697 MB / 0.6325 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4645, allocations: 9.656 kB / 0.6325 GB, free: 29.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008635/0.4654, allocations: 256.8 kB / 0.6328 GB, free: 29.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.4672, allocations: 1.274 MB / 0.634 GB, free: 29.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.4673, allocations: 64.34 kB / 0.6341 GB, free: 29.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.4674, allocations: 85.31 kB / 0.6342 GB, free: 29.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.4688, allocations: 1.002 MB / 0.6352 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4688, allocations: 6.906 kB / 0.6352 GB, free: 28.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.4689, allocations: 35.05 kB / 0.6352 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4689, allocations: 21.92 kB / 0.6352 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.4702, allocations: 0.7751 MB / 0.636 GB, free: 28.3 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.004625/0.4749, allocations: 5.005 MB / 0.6409 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.476, allocations: 0.6423 MB / 0.6415 GB, free: 24.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/0.4781, allocations: 1.886 MB / 0.6433 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006217/0.4787, allocations: 364.3 kB / 0.6437 GB, free: 23 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000272/0.479, allocations: 96.44 kB / 0.6438 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.479, allocations: 0 / 0.6438 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003202/0.4822, allocations: 1.365 MB / 0.6451 GB, free: 22.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.4823, allocations: 56.62 kB / 0.6452 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4835, allocations: 1.333 MB / 0.6465 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.4836, allocations: 42.33 kB / 0.6465 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.4839, allocations: 0.6413 MB / 0.6471 GB, free: 21.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/0.484, allocations: 153.9 kB / 0.6473 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.4841, allocations: 10.62 kB / 0.6473 GB, free: 21.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.121e-05/0.4841, allocations: 340.2 kB / 0.6476 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005138/0.4847, allocations: 263.1 kB / 0.6479 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006353/0.4853, allocations: 0.6143 MB / 0.6485 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.486, allocations: 364.8 kB / 0.6488 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.486, allocations: 2.531 kB / 0.6488 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002377/0.4884, allocations: 1.137 MB / 0.6499 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005186/0.4889, allocations: 3.123 MB / 0.653 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4889, allocations: 8.516 kB / 0.653 GB, free: 16.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008105/0.4897, allocations: 233.2 kB / 0.6532 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.4903, allocations: 148.3 kB / 0.6533 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008398/0.4912, allocations: 0.8542 MB / 0.6542 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.4922, allocations: 103.1 kB / 0.6543 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.4923, allocations: 44.03 kB / 0.6543 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4923, allocations: 3.844 kB / 0.6543 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001557/0.4939, allocations: 0.8632 MB / 0.6552 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4939, allocations: 8.125 kB / 0.6552 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.4943, allocations: 155.4 kB / 0.6553 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.4947, allocations: 136.1 kB / 0.6554 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.497, allocations: 2.374 MB / 0.6578 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.4979, allocations: 89.11 kB / 0.6579 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.4979, allocations: 35.23 kB / 0.6579 GB, free: 13.55 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.4986, allocations: 486.3 kB / 0.6583 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.4988, allocations: 131.7 kB / 0.6585 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.5007, allocations: 0.9436 MB / 0.6594 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.5007, allocations: 9.328 kB / 0.6594 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.5007, allocations: 1.812 kB / 0.6594 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.5021, allocations: 0.9379 MB / 0.6603 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.5056, allocations: 1.968 MB / 0.6622 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5056, allocations: 1 kB / 0.6622 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.5061, allocations: 89.75 kB / 0.6623 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.5064, allocations: 147.3 kB / 0.6625 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5064, allocations: 17.45 kB / 0.6625 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006111/0.5071, allocations: 0.8164 MB / 0.6633 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5071, allocations: 5.844 kB / 0.6633 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.5093, allocations: 1.306 MB / 0.6646 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.5098, allocations: 289.4 kB / 0.6648 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.51, allocations: 11.7 kB / 0.6649 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.5107, allocations: 90.27 kB / 0.6649 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.5108, allocations: 36.66 kB / 0.665 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.5109, allocations: 23.56 kB / 0.665 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001261/0.5122, allocations: 0.92 MB / 0.6659 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5122, allocations: 1 kB / 0.6659 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002066/0.5142, allocations: 0.6954 MB / 0.6666 GB, free: 9.285 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007639/0.515, allocations: 373.8 kB / 0.6669 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.518, allocations: 1.399 MB / 0.6683 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.518, allocations: 1.281 kB / 0.6683 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.5188, allocations: 358.8 kB / 0.6686 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.5211, allocations: 0.574 MB / 0.6692 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.5248, allocations: 2.73 MB / 0.6719 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008227/0.5256, allocations: 1.299 MB / 0.6731 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001193/0.5268, allocations: 312.7 kB / 0.6734 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.5271, allocations: 105.9 kB / 0.6735 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.5271, allocations: 0 / 0.6735 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.04229/0.5694, allocations: 25.41 MB / 0.6983 GB, free: 9.199 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: