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.0008012/0.0008011, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.004656/0.004656, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7575/0.7575, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003219, allocations: 9.438 kB / 0.504 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4377, allocations: 81.57 MB / 0.5837 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03342/0.4711, allocations: 31.77 MB / 0.6147 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01656/0.4877, allocations: 10.41 MB / 0.6249 GB, free: 4.066 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.4899, allocations: 50.97 kB / 0.6249 GB, free: 4.043 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002265/0.4922, allocations: 0.6355 MB / 0.6255 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.4973, allocations: 1.453 MB / 0.6269 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.5022, allocations: 1.252 MB / 0.6282 GB, free: 1.539 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.008382/0.5106, allocations: 6.433 MB / 0.6344 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/0.5134, allocations: 1.745 MB / 0.6361 GB, free: 10.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003814/0.5172, allocations: 1.618 MB / 0.6377 GB, free: 8.945 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.5198, allocations: 1.326 MB / 0.639 GB, free: 7.613 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.52, allocations: 64 kB / 0.6391 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.5228, allocations: 1.084 MB / 0.6401 GB, free: 6.465 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.5232, allocations: 390.2 kB / 0.6405 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.5245, allocations: 0.9224 MB / 0.6414 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.5281, allocations: 2.795 MB / 0.6441 GB, free: 2.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5281, allocations: 0 / 0.6441 GB, free: 2.344 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5281, allocations: 0 / 0.6441 GB, free: 2.344 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.5282, allocations: 4 kB / 0.6442 GB, free: 2.34 MB / 478.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.003518/0.5317, allocations: 2.042 MB / 0.6461 GB, free: 236 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5317, allocations: 15.97 kB / 0.6462 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.5329, allocations: 314.2 kB / 0.6465 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.5358, allocations: 1.648 MB / 0.6481 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.5359, allocations: 81.98 kB / 0.6481 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.5361, allocations: 104 kB / 0.6482 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.5383, allocations: 1.294 MB / 0.6495 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.5383, allocations: 3.938 kB / 0.6495 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.5384, allocations: 44 kB / 0.6496 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.5385, allocations: 23.94 kB / 0.6496 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.5404, allocations: 0.9913 MB / 0.6505 GB, free: 11.59 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.00791/0.5483, allocations: 6.762 MB / 0.6572 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.5497, allocations: 0.6095 MB / 0.6577 GB, free: 3.719 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.5504, allocations: 398.9 kB / 0.6581 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002692/0.5531, allocations: 1.69 MB / 0.6598 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007706/0.5539, allocations: 381.9 kB / 0.6601 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005612/0.5544, allocations: 99.33 kB / 0.6602 GB, free: 1.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=46): time 2.766e-06/0.5545, allocations: 0 / 0.6602 GB, free: 1.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=46): time 0.003418/0.5579, allocations: 1.324 MB / 0.6615 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.5579, allocations: 55.41 kB / 0.6616 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.5603, allocations: 1.785 MB / 0.6633 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.367e-05/0.5604, allocations: 45.7 kB / 0.6634 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007704/0.5611, allocations: 0.8461 MB / 0.6642 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.5613, allocations: 169.7 kB / 0.6644 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.5614, allocations: 73.67 kB / 0.6644 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5615, allocations: 338 kB / 0.6647 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000667/0.5622, allocations: 309.8 kB / 0.665 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008989/0.5631, allocations: 0.7479 MB / 0.6658 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.5646, allocations: 0.9954 MB / 0.6667 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/0.5647, allocations: 4 kB / 0.6668 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002627/0.5673, allocations: 1.308 MB / 0.668 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002915/0.5676, allocations: 425.2 kB / 0.6684 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.5676, allocations: 8 kB / 0.6684 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.5683, allocations: 192.6 kB / 0.6686 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.569, allocations: 171.7 kB / 0.6688 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006806/0.5697, allocations: 0.7552 MB / 0.6695 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5708, allocations: 92.5 kB / 0.6696 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.5709, allocations: 51.92 kB / 0.6697 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.5709, allocations: 4 kB / 0.6697 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001869/0.5728, allocations: 1.085 MB / 0.6707 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.5728, allocations: 12 kB / 0.6707 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.5731, allocations: 121.5 kB / 0.6709 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.5736, allocations: 171.7 kB / 0.671 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.5758, allocations: 2.118 MB / 0.6731 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.5769, allocations: 92.56 kB / 0.6732 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.577, allocations: 36 kB / 0.6732 GB, free: 2.91 MB / 0.4981 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 (85): * Single equations (assignments): 82 * 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.0009649/0.5779, allocations: 0.5903 MB / 0.6738 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.5782, allocations: 173.8 kB / 0.674 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.5802, allocations: 0.9961 MB / 0.6749 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5803, allocations: 11.98 kB / 0.6749 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5803, allocations: 3.938 kB / 0.6749 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001524/0.5818, allocations: 0.9452 MB / 0.6759 GB, free: 108 kB / 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.00391/0.5857, allocations: 2.175 MB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.5858, allocations: 4 kB / 0.678 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.5862, allocations: 84 kB / 0.6781 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002932/0.5865, allocations: 116.7 kB / 0.6782 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.5866, allocations: 23.92 kB / 0.6782 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000565/0.5871, allocations: 0.7385 MB / 0.6789 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5871, allocations: 0 / 0.6789 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.5895, allocations: 1.382 MB / 0.6803 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006531/0.5902, allocations: 318.8 kB / 0.6806 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.5903, allocations: 15.98 kB / 0.6806 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/0.5911, allocations: 67.91 kB / 0.6807 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.5912, allocations: 48.25 kB / 0.6807 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.5912, allocations: 23.98 kB / 0.6807 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001703/0.593, allocations: 1.231 MB / 0.6819 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.593, allocations: 0 / 0.6819 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002439/0.5954, allocations: 0.7877 MB / 0.6827 GB, free: 8.914 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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009632/0.5964, allocations: 379.4 kB / 0.6831 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.5992, allocations: 1.473 MB / 0.6845 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5993, allocations: 0 / 0.6845 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006953/0.6, allocations: 343.6 kB / 0.6848 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.6035, allocations: 0.7435 MB / 0.6856 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.6094, allocations: 3.501 MB / 0.689 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.6105, allocations: 1.499 MB / 0.6904 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001614/0.6121, allocations: 430.2 kB / 0.6908 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.6124, allocations: 131.4 kB / 0.691 GB, free: 368 kB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.6124, allocations: 0 / 0.691 GB, free: 368 kB / 0.5137 GB Notification: Performance of Templates: time 0.05186/0.6642, allocations: 30.17 MB / 0.7204 GB, free: 2.594 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)