Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7124/0.7124, allocations: 133.3 MB / 150.1 MB, free: 11.13 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 404.7 MB, free: 6.039 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 98.52 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001058, allocations: 59.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1331, allocations: 80.42 MB / 0.6421 GB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01749/0.1506, allocations: 14.4 MB / 0.6562 GB, free: 6.938 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.1561, allocations: 3.673 MB / 0.6598 GB, free: 3.254 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.1569, allocations: 19.88 kB / 0.6598 GB, free: 3.234 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007779/0.1577, allocations: 167.1 kB / 0.66 GB, free: 3.07 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.1595, allocations: 0.5444 MB / 0.6605 GB, free: 2.523 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1606, allocations: 360.1 kB / 0.6608 GB, free: 2.176 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.1624, allocations: 1.457 MB / 0.6623 GB, free: 0.7148 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005579/0.163, allocations: 280.2 kB / 0.6625 GB, free: 448 kB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.1636, allocations: 318.6 kB / 0.6628 GB, free: 128 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.1642, allocations: 314.5 kB / 0.6631 GB, free: 15.82 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.1643, allocations: 20 kB / 0.6631 GB, free: 15.8 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006913/0.165, allocations: 243.4 kB / 0.6634 GB, free: 15.56 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1652, allocations: 83.66 kB / 0.6635 GB, free: 15.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002546/0.1654, allocations: 191 kB / 0.6636 GB, free: 15.29 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007851/0.1662, allocations: 0.5844 MB / 0.6642 GB, free: 14.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1662, allocations: 0 / 0.6642 GB, free: 14.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1663, allocations: 0 / 0.6642 GB, free: 14.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1663, allocations: 3.938 kB / 0.6642 GB, free: 14.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001198/0.1675, allocations: 0.7457 MB / 0.6649 GB, free: 13.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1675, allocations: 12.03 kB / 0.665 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1677, allocations: 48.47 kB / 0.665 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.1684, allocations: 479 kB / 0.6655 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.1685, allocations: 20.56 kB / 0.6655 GB, free: 13.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.1685, allocations: 24 kB / 0.6655 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.1691, allocations: 314.2 kB / 0.6658 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1691, allocations: 3.906 kB / 0.6658 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1692, allocations: 12 kB / 0.6658 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1692, allocations: 8 kB / 0.6658 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004679/0.1697, allocations: 190.1 kB / 0.666 GB, free: 12.75 MB / 474.7 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.00178/0.1714, allocations: 1.481 MB / 0.6674 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004415/0.1719, allocations: 154.6 kB / 0.6676 GB, free: 10.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1721, allocations: 64.83 kB / 0.6677 GB, free: 10.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.1723, allocations: 93.08 kB / 0.6677 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003202/0.1726, allocations: 133.1 kB / 0.6679 GB, free: 10.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/0.1726, allocations: 4 kB / 0.6679 GB, free: 10.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006149/0.1733, allocations: 225.2 kB / 0.6681 GB, free: 10.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1733, allocations: 55.41 kB / 0.6681 GB, free: 10.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.1737, allocations: 345.5 kB / 0.6685 GB, free: 10.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1737, allocations: 33.7 kB / 0.6685 GB, free: 9.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1739, allocations: 211.8 kB / 0.6687 GB, free: 9.766 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1739, allocations: 59.2 kB / 0.6688 GB, free: 9.707 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.174, allocations: 49.7 kB / 0.6688 GB, free: 9.652 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1742, allocations: 350.7 kB / 0.6691 GB, free: 9.301 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.1744, allocations: 67.95 kB / 0.6692 GB, free: 9.234 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.1746, allocations: 145.3 kB / 0.6694 GB, free: 9.059 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.175, allocations: 237.1 kB / 0.6696 GB, free: 8.789 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1751, allocations: 8 kB / 0.6696 GB, free: 8.781 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000601/0.1757, allocations: 318.5 kB / 0.6699 GB, free: 8.457 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.1757, allocations: 35.27 kB / 0.6699 GB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1757, allocations: 4 kB / 0.6699 GB, free: 8.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1758, allocations: 0 / 0.6699 GB, free: 8.414 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.176, allocations: 60.22 kB / 0.67 GB, free: 8.355 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.176, allocations: 8 kB / 0.67 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1763, allocations: 39.72 kB / 0.67 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.1763, allocations: 8 kB / 0.67 GB, free: 8.301 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.1765, allocations: 161.7 kB / 0.6702 GB, free: 8.133 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.1766, allocations: 39.55 kB / 0.6702 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004679/0.1771, allocations: 198 kB / 0.6704 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1771, allocations: 0 / 0.6704 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1771, allocations: 0 / 0.6704 GB, free: 7.898 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004858/0.1776, allocations: 487.8 kB / 0.6709 GB, free: 7.336 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.1781, allocations: 357.3 kB / 0.6712 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1781, allocations: 0 / 0.6712 GB, free: 6.938 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.1782, allocations: 35.86 kB / 0.6713 GB, free: 6.902 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1783, allocations: 7.984 kB / 0.6713 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1783, allocations: 0 / 0.6713 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1783, allocations: 4 kB / 0.6713 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1783, allocations: 0 / 0.6713 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.1812, allocations: 1.865 MB / 0.6731 GB, free: 4.887 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.1814, allocations: 124.7 kB / 0.6732 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1814, allocations: 0 / 0.6732 GB, free: 4.746 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1817, allocations: 27.89 kB / 0.6732 GB, free: 4.719 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.1817, allocations: 23.91 kB / 0.6733 GB, free: 4.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.1818, allocations: 4 kB / 0.6733 GB, free: 4.691 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002457/0.182, allocations: 239.2 kB / 0.6735 GB, free: 4.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.182, allocations: 3.938 kB / 0.6735 GB, free: 4.453 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005866/0.1826, allocations: 175.8 kB / 0.6737 GB, free: 4.281 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.183, allocations: 183.1 kB / 0.6738 GB, free: 4.09 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.1835, allocations: 223.1 kB / 0.6741 GB, free: 3.859 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1835, allocations: 96 / 0.6741 GB, free: 3.859 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.1837, allocations: 75.83 kB / 0.6741 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.1847, allocations: 200.9 kB / 0.6743 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1863, allocations: 1.015 MB / 0.6753 GB, free: 2.547 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.1867, allocations: 0.7999 MB / 0.6761 GB, free: 1.719 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.187, allocations: 67.25 kB / 0.6762 GB, free: 1.652 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.1871, allocations: 31.42 kB / 0.6762 GB, free: 1.621 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/0.1871, allocations: 0 / 0.6762 GB, free: 1.621 MB / 474.7 MB Notification: Performance of Templates: time 0.01192/0.199, allocations: 6.897 MB / 0.6829 GB, free: 10.8 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)