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.0008845/0.0008845, allocations: 99.86 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.0008827/0.0008826, allocations: 177.3 kB / 15.95 MB, free: 216 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.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8648/0.8648, allocations: 135.2 MB / 426.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.2626/0.4041, allocations: 27.37 MB / 0.6139 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009857/0.414, allocations: 9.134 MB / 0.6228 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.4151, allocations: 39 kB / 0.6229 GB, free: 33.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.4165, allocations: 0.5552 MB / 0.6234 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.4197, allocations: 1.487 MB / 0.6249 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.4229, allocations: 1.347 MB / 0.6262 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002917/0.4258, allocations: 2.841 MB / 0.629 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.4273, allocations: 1.617 MB / 0.6305 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.4289, allocations: 1.333 MB / 0.6318 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007927/0.4297, allocations: 0.9259 MB / 0.6327 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.4298, allocations: 67.03 kB / 0.6328 GB, free: 29.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.4313, allocations: 0.7699 MB / 0.6336 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.4315, allocations: 357.6 kB / 0.6339 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.4318, allocations: 402.1 kB / 0.6343 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.4331, allocations: 2.111 MB / 0.6364 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.4332, allocations: 3.938 kB / 0.6364 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4332, allocations: 0 / 0.6364 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.4332, allocations: 0 / 0.6364 GB, free: 28.12 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.002541/0.4357, allocations: 2.088 MB / 0.6384 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.4358, allocations: 9.469 kB / 0.6384 GB, free: 26.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000873/0.4367, allocations: 308.1 kB / 0.6387 GB, free: 26.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.4388, allocations: 1.574 MB / 0.6402 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.259e-05/0.4389, allocations: 80.28 kB / 0.6403 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.439, allocations: 105.9 kB / 0.6404 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.4406, allocations: 1.316 MB / 0.6417 GB, free: 25.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4407, allocations: 6.5 kB / 0.6417 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.431e-05/0.4407, allocations: 37.53 kB / 0.6417 GB, free: 25.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4408, allocations: 33.61 kB / 0.6418 GB, free: 25.15 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.4424, allocations: 1.041 MB / 0.6428 GB, free: 24.8 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.005407/0.4478, allocations: 6.925 MB / 0.6495 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.449, allocations: 0.667 MB / 0.6502 GB, free: 19.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002495/0.4515, allocations: 1.869 MB / 0.652 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007904/0.4523, allocations: 399.5 kB / 0.6524 GB, free: 17.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003926/0.4527, allocations: 102.7 kB / 0.6525 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=46): time 1.903e-06/0.4528, allocations: 0 / 0.6525 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46): time 0.003781/0.4565, allocations: 1.515 MB / 0.654 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.4566, allocations: 57 kB / 0.654 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.4588, allocations: 1.871 MB / 0.6559 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.4588, allocations: 39.23 kB / 0.6559 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005698/0.4594, allocations: 0.8536 MB / 0.6567 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.4596, allocations: 162.6 kB / 0.6569 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.4596, allocations: 19.75 kB / 0.6569 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.979e-05/0.4597, allocations: 335.6 kB / 0.6572 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.4603, allocations: 309 kB / 0.6575 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009895/0.4613, allocations: 0.7697 MB / 0.6583 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/0.4621, allocations: 454.6 kB / 0.6587 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.4621, allocations: 3.375 kB / 0.6587 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002449/0.4646, allocations: 1.335 MB / 0.66 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005901/0.4652, allocations: 4.229 MB / 0.6641 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4652, allocations: 10.44 kB / 0.6642 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007572/0.466, allocations: 220.7 kB / 0.6644 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.4666, allocations: 179.5 kB / 0.6645 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000618/0.4672, allocations: 0.8405 MB / 0.6654 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.4685, allocations: 129.2 kB / 0.6655 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.4686, allocations: 54.5 kB / 0.6655 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.4686, allocations: 4.344 kB / 0.6655 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/0.4701, allocations: 1.018 MB / 0.6665 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4702, allocations: 11.06 kB / 0.6665 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.4706, allocations: 162.9 kB / 0.6667 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.4711, allocations: 162.1 kB / 0.6669 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.4732, allocations: 2.392 MB / 0.6692 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.4743, allocations: 115.3 kB / 0.6693 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.4744, allocations: 44.73 kB / 0.6693 GB, free: 6.453 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.0007618/0.4751, allocations: 0.5925 MB / 0.6699 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4753, allocations: 171.1 kB / 0.6701 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.4773, allocations: 1.075 MB / 0.6711 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4773, allocations: 6.219 kB / 0.6711 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.4773, allocations: 1.156 kB / 0.6711 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.4787, allocations: 1.005 MB / 0.6721 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.4821, allocations: 2.308 MB / 0.6744 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4822, allocations: 0.75 kB / 0.6744 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.4826, allocations: 102.7 kB / 0.6745 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/0.4829, allocations: 140.6 kB / 0.6746 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.483, allocations: 16.94 kB / 0.6746 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005846/0.4835, allocations: 0.8028 MB / 0.6754 GB, free: 19.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4836, allocations: 1.938 kB / 0.6754 GB, free: 19.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.4859, allocations: 1.494 MB / 0.6769 GB, free: 18.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005349/0.4864, allocations: 355.6 kB / 0.6772 GB, free: 18.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4866, allocations: 11.62 kB / 0.6772 GB, free: 18.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/0.4875, allocations: 98.41 kB / 0.6773 GB, free: 18.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.631e-05/0.4876, allocations: 42.42 kB / 0.6774 GB, free: 18.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.4877, allocations: 23.28 kB / 0.6774 GB, free: 18.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001584/0.4892, allocations: 1.293 MB / 0.6786 GB, free: 17.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4892, allocations: 1.031 kB / 0.6786 GB, free: 17.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002144/0.4914, allocations: 0.856 MB / 0.6795 GB, free: 17.66 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 (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.0006881/0.4921, allocations: 374.3 kB / 0.6798 GB, free: 17.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.4947, allocations: 1.519 MB / 0.6813 GB, free: 16.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4947, allocations: 0.5156 kB / 0.6813 GB, free: 16.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.4954, allocations: 362.7 kB / 0.6817 GB, free: 16.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/0.4985, allocations: 0.8444 MB / 0.6825 GB, free: 16.51 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/0.5027, allocations: 3.469 MB / 0.6859 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5037, allocations: 1.525 MB / 0.6874 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001303/0.505, allocations: 426.7 kB / 0.6878 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.5053, allocations: 140.3 kB / 0.6879 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.5053, allocations: 0 / 0.6879 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.04522/0.5505, allocations: 32.36 MB / 0.7195 GB, free: 3.355 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: