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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001202, allocations: 107.7 kB / 16.41 MB, free: 6.438 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.001224/0.001224, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 62.28 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2033, allocations: 80.92 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0211/0.2245, allocations: 14.44 MB / 0.6794 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006125/0.2307, allocations: 3.648 MB / 0.6829 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.2316, allocations: 19.88 kB / 0.683 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009125/0.2326, allocations: 202.7 kB / 0.6832 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.2348, allocations: 0.5829 MB / 0.6837 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.236, allocations: 394.6 kB / 0.6841 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2379, allocations: 1.075 MB / 0.6852 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007211/0.2387, allocations: 324.4 kB / 0.6855 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.2402, allocations: 404 kB / 0.6858 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006898/0.2409, allocations: 306.6 kB / 0.6861 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.241, allocations: 32 kB / 0.6862 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.2419, allocations: 259.5 kB / 0.6864 GB, free: 124 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.2421, allocations: 99.67 kB / 0.6865 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.2425, allocations: 219.1 kB / 0.6867 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.2438, allocations: 0.5918 MB / 0.6873 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2438, allocations: 0 / 0.6873 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2438, allocations: 0 / 0.6873 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.807e-05/0.2439, allocations: 0 / 0.6873 GB, free: 15.21 MB / 0.5294 GB 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.001684/0.2456, allocations: 0.7379 MB / 0.688 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2456, allocations: 21.03 kB / 0.688 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.2459, allocations: 52.47 kB / 0.6881 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009314/0.2469, allocations: 462.9 kB / 0.6885 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.2469, allocations: 20.56 kB / 0.6886 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.247, allocations: 24 kB / 0.6886 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.2476, allocations: 314.2 kB / 0.6889 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.2477, allocations: 11.84 kB / 0.6889 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.2477, allocations: 8 kB / 0.6889 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.2477, allocations: 12 kB / 0.6889 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.2483, allocations: 194 kB / 0.6891 GB, free: 13.26 MB / 0.5294 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.002093/0.2504, allocations: 1.477 MB / 0.6905 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000504/0.2509, allocations: 162.5 kB / 0.6907 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.2511, allocations: 71.69 kB / 0.6908 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.2512, allocations: 85.11 kB / 0.6908 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.2516, allocations: 141.7 kB / 0.691 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.2516, allocations: 0 / 0.691 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006876/0.2523, allocations: 225.2 kB / 0.6912 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2523, allocations: 59.34 kB / 0.6912 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.2528, allocations: 353.6 kB / 0.6916 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.2528, allocations: 29.7 kB / 0.6916 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.253, allocations: 211.8 kB / 0.6918 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.2531, allocations: 59.2 kB / 0.6919 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2532, allocations: 53.69 kB / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.2533, allocations: 338.8 kB / 0.6922 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.2535, allocations: 67.95 kB / 0.6923 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.2538, allocations: 161.2 kB / 0.6925 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.2542, allocations: 241 kB / 0.6927 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2542, allocations: 0 / 0.6927 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006703/0.2549, allocations: 321.1 kB / 0.693 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.255, allocations: 33.69 kB / 0.693 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.255, allocations: 4 kB / 0.693 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.255, allocations: 4 kB / 0.693 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.2553, allocations: 60.22 kB / 0.6931 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2553, allocations: 4 kB / 0.6931 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2556, allocations: 39.67 kB / 0.6931 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.2556, allocations: 8 kB / 0.6931 GB, free: 8.793 MB / 0.5294 GB 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.0001985/0.2558, allocations: 157.8 kB / 0.6933 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.2559, allocations: 35.56 kB / 0.6933 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.2564, allocations: 196.5 kB / 0.6935 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2564, allocations: 0 / 0.6935 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.2564, allocations: 3.938 kB / 0.6935 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005331/0.257, allocations: 490.5 kB / 0.694 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.2575, allocations: 357.3 kB / 0.6943 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2575, allocations: 0 / 0.6943 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2577, allocations: 39.91 kB / 0.6944 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2577, allocations: 0 / 0.6944 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2577, allocations: 0 / 0.6944 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.2577, allocations: 12 kB / 0.6944 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2577, allocations: 0 / 0.6944 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006496/0.2584, allocations: 286.3 kB / 0.6946 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.2586, allocations: 124.6 kB / 0.6948 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.2586, allocations: 4 kB / 0.6948 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.2589, allocations: 15.98 kB / 0.6948 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.259, allocations: 19.97 kB / 0.6948 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.259, allocations: 4 kB / 0.6948 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002606/0.2593, allocations: 251.2 kB / 0.695 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2593, allocations: 0 / 0.695 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004952/0.2598, allocations: 131.9 kB / 0.6952 GB, free: 6.535 MB / 0.5294 GB 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.0004343/0.2602, allocations: 200.3 kB / 0.6954 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.2608, allocations: 227.2 kB / 0.6956 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2608, allocations: 0 / 0.6956 GB, free: 6.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.261, allocations: 67.89 kB / 0.6956 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009983/0.262, allocations: 219.9 kB / 0.6959 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.2636, allocations: 0.7599 MB / 0.6966 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.264, allocations: 0.7918 MB / 0.6974 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2642, allocations: 35.42 kB / 0.6974 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.2642, allocations: 4 kB / 0.6974 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of Templates: time 0.01141/0.2756, allocations: 6.224 MB / 0.7035 GB, free: 13.98 MB / 0.545 GB 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)