Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00104/0.00104, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 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.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9447/0.9447, allocations: 135.3 MB / 426.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 13.06 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 82.3 MB / 0.5874 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.334/0.4893, allocations: 30.04 MB / 0.6167 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.502, allocations: 9.76 MB / 0.6262 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.5039, allocations: 45.56 kB / 0.6263 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/0.5056, allocations: 499 kB / 0.6268 GB, free: 31.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004176/0.5098, allocations: 1.281 MB / 0.628 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003561/0.5134, allocations: 1.078 MB / 0.6291 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006625/0.52, allocations: 5.503 MB / 0.6344 GB, free: 28.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.5228, allocations: 1.62 MB / 0.636 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003639/0.5265, allocations: 1.558 MB / 0.6375 GB, free: 27.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/0.5291, allocations: 1.297 MB / 0.6388 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005751/0.5297, allocations: 71.03 kB / 0.6389 GB, free: 26.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.5326, allocations: 0.8836 MB / 0.6397 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007368/0.5334, allocations: 383.5 kB / 0.6401 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009811/0.5344, allocations: 405.6 kB / 0.6405 GB, free: 25.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002915/0.5373, allocations: 2.166 MB / 0.6426 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.5373, allocations: 7.094 kB / 0.6426 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5373, allocations: 0 / 0.6426 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.091e-05/0.5374, allocations: 0 / 0.6426 GB, free: 25.34 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003339/0.5407, allocations: 2.097 MB / 0.6447 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.5408, allocations: 12.81 kB / 0.6447 GB, free: 23.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5419, allocations: 314.2 kB / 0.645 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.5446, allocations: 1.585 MB / 0.6465 GB, free: 23.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.5447, allocations: 78.69 kB / 0.6466 GB, free: 23.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.5448, allocations: 105.6 kB / 0.6467 GB, free: 23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.547, allocations: 1.329 MB / 0.648 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.547, allocations: 1.594 kB / 0.648 GB, free: 22.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.5471, allocations: 46.59 kB / 0.648 GB, free: 22.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.5472, allocations: 27.12 kB / 0.6481 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.5495, allocations: 1.05 MB / 0.6491 GB, free: 22 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.008894/0.5584, allocations: 6.987 MB / 0.6559 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.56, allocations: 0.6885 MB / 0.6566 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008831/0.5609, allocations: 428.1 kB / 0.657 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003709/0.5647, allocations: 1.825 MB / 0.6588 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008761/0.5656, allocations: 415 kB / 0.6592 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008022/0.5664, allocations: 102.8 kB / 0.6593 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 4.488e-06/0.5664, allocations: 0 / 0.6593 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.004392/0.5708, allocations: 1.542 MB / 0.6608 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.5709, allocations: 57.38 kB / 0.6608 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.5741, allocations: 1.85 MB / 0.6626 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.5743, allocations: 40.42 kB / 0.6627 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007455/0.575, allocations: 0.8509 MB / 0.6635 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.5752, allocations: 169.8 kB / 0.6637 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.5753, allocations: 15.66 kB / 0.6637 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.5754, allocations: 336.4 kB / 0.664 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007596/0.5761, allocations: 320.8 kB / 0.6643 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.5772, allocations: 0.7826 MB / 0.6651 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.5781, allocations: 453.3 kB / 0.6655 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.5781, allocations: 3.844 kB / 0.6655 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003186/0.5813, allocations: 1.353 MB / 0.6668 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.5815, allocations: 422.7 kB / 0.6672 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.5815, allocations: 13.91 kB / 0.6672 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/0.5823, allocations: 213.1 kB / 0.6674 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.583, allocations: 178 kB / 0.6676 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007232/0.5837, allocations: 0.845 MB / 0.6684 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.5856, allocations: 124.9 kB / 0.6686 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.5858, allocations: 47.64 kB / 0.6686 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5858, allocations: 6.469 kB / 0.6686 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002524/0.5883, allocations: 1.026 MB / 0.6696 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.5884, allocations: 14.09 kB / 0.6696 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.589, allocations: 163.6 kB / 0.6698 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.5896, allocations: 166.4 kB / 0.6699 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002763/0.5924, allocations: 2.349 MB / 0.6722 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.5945, allocations: 117.6 kB / 0.6723 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.5947, allocations: 45.67 kB / 0.6724 GB, free: 7.457 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (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 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001969/0.5966, allocations: 0.5887 MB / 0.673 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000817/0.5975, allocations: 171.2 kB / 0.6731 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/0.6005, allocations: 1.068 MB / 0.6742 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.6005, allocations: 10.19 kB / 0.6742 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6006, allocations: 0 / 0.6742 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/0.6023, allocations: 1.039 MB / 0.6752 GB, free: 6.008 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.005916/0.6082, allocations: 2.323 MB / 0.6775 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6083, allocations: 1.156 kB / 0.6775 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004991/0.6088, allocations: 92.44 kB / 0.6776 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000382/0.6092, allocations: 146 kB / 0.6777 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.6092, allocations: 16.78 kB / 0.6777 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/0.61, allocations: 0.8133 MB / 0.6785 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.61, allocations: 0.9062 kB / 0.6785 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.6133, allocations: 1.48 MB / 0.6799 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.6149, allocations: 342.2 kB / 0.6803 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007549/0.6157, allocations: 11.16 kB / 0.6803 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.6172, allocations: 104.8 kB / 0.6804 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6173, allocations: 45.72 kB / 0.6804 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.311e-05/0.6174, allocations: 23.27 kB / 0.6805 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002751/0.6202, allocations: 1.278 MB / 0.6817 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6202, allocations: 0 / 0.6817 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004548/0.6248, allocations: 0.8493 MB / 0.6825 GB, free: 2.691 MB / 0.4981 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 (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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001241/0.626, allocations: 360 kB / 0.6829 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003736/0.6298, allocations: 1.535 MB / 0.6844 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.6298, allocations: 1.375 kB / 0.6844 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009364/0.6308, allocations: 368.8 kB / 0.6847 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005358/0.6361, allocations: 0.8483 MB / 0.6856 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/0.6442, allocations: 3.472 MB / 0.6889 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.6466, allocations: 1.496 MB / 0.6904 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002619/0.6492, allocations: 422.6 kB / 0.6908 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.6498, allocations: 132 kB / 0.6909 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of SimCode: time 1.212e-06/0.6499, allocations: 0 / 0.6909 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of Templates: time 0.06092/0.7108, allocations: 32.07 MB / 0.7223 GB, free: 1.238 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)