Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005032/0.005032, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001156/0.001156, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8379/0.8379, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 0.5813 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4458, allocations: 80.2 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01596/0.4618, allocations: 14.45 MB / 0.6738 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005649/0.4675, allocations: 3.636 MB / 0.6773 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.4681, allocations: 20.44 kB / 0.6773 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.4688, allocations: 215.7 kB / 0.6775 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.4703, allocations: 0.608 MB / 0.6781 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009146/0.4712, allocations: 394.4 kB / 0.6785 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.4726, allocations: 1.095 MB / 0.6796 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005539/0.4732, allocations: 312.1 kB / 0.6799 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.4743, allocations: 406.8 kB / 0.6803 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004876/0.4748, allocations: 309.3 kB / 0.6806 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/0.4749, allocations: 32.62 kB / 0.6806 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.4755, allocations: 258.4 kB / 0.6808 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.4756, allocations: 95.23 kB / 0.6809 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.4758, allocations: 213.4 kB / 0.6811 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.4766, allocations: 0.5922 MB / 0.6817 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4767, allocations: 1.125 kB / 0.6817 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4767, allocations: 3.938 kB / 0.6817 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.4767, allocations: 0 / 0.6817 GB, free: 9.129 MB / 0.5137 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.001308/0.478, allocations: 0.751 MB / 0.6825 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.478, allocations: 10.44 kB / 0.6825 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.4783, allocations: 48.08 kB / 0.6825 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007176/0.479, allocations: 464.5 kB / 0.6829 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.479, allocations: 23.98 kB / 0.683 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.4791, allocations: 29.81 kB / 0.683 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.4797, allocations: 312.1 kB / 0.6833 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.4797, allocations: 1.062 kB / 0.6833 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.4798, allocations: 11.5 kB / 0.6833 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.4798, allocations: 6.938 kB / 0.6833 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.4803, allocations: 194.3 kB / 0.6835 GB, free: 7.707 MB / 0.5137 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.001895/0.4822, allocations: 1.477 MB / 0.6849 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.4827, allocations: 157 kB / 0.6851 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4829, allocations: 62.2 kB / 0.6852 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.483, allocations: 96.12 kB / 0.6852 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003/0.4834, allocations: 132.5 kB / 0.6854 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.674e-06/0.4834, allocations: 0 / 0.6854 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000666/0.484, allocations: 241.7 kB / 0.6856 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.4841, allocations: 57.52 kB / 0.6857 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.4845, allocations: 353.6 kB / 0.686 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4845, allocations: 27.23 kB / 0.686 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.4847, allocations: 217.5 kB / 0.6862 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.4847, allocations: 54.39 kB / 0.6863 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.4848, allocations: 53.17 kB / 0.6863 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.485, allocations: 342.1 kB / 0.6867 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4852, allocations: 68.42 kB / 0.6867 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.4855, allocations: 145.2 kB / 0.6869 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000479/0.486, allocations: 253.7 kB / 0.6871 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.486, allocations: 1.156 kB / 0.6871 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006879/0.4867, allocations: 308.3 kB / 0.6874 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.4868, allocations: 40.64 kB / 0.6874 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.4868, allocations: 6.422 kB / 0.6874 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4868, allocations: 4.656 kB / 0.6874 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.4871, allocations: 53.41 kB / 0.6875 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.4871, allocations: 3.438 kB / 0.6875 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.4875, allocations: 36.98 kB / 0.6875 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.4876, allocations: 12.25 kB / 0.6875 GB, free: 4.305 MB / 0.5137 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.0002409/0.4878, allocations: 162.4 kB / 0.6877 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.108e-05/0.4879, allocations: 36.06 kB / 0.6877 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.4885, allocations: 192.3 kB / 0.6879 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4885, allocations: 5.359 kB / 0.6879 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4885, allocations: 0 / 0.6879 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005841/0.4891, allocations: 491.5 kB / 0.6884 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.4898, allocations: 354.3 kB / 0.6887 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4898, allocations: 4 kB / 0.6887 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.49, allocations: 31.3 kB / 0.6888 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.49, allocations: 1.375 kB / 0.6888 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.49, allocations: 9.359 kB / 0.6888 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.49, allocations: 5.312 kB / 0.6888 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.49, allocations: 0 / 0.6888 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.4907, allocations: 283.9 kB / 0.6891 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.4909, allocations: 130.1 kB / 0.6892 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/0.491, allocations: 1.25 kB / 0.6892 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.4912, allocations: 20.66 kB / 0.6892 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.4913, allocations: 14.64 kB / 0.6892 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-05/0.4914, allocations: 13.27 kB / 0.6892 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003022/0.4917, allocations: 247.3 kB / 0.6895 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.4917, allocations: 0 / 0.6895 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005721/0.4922, allocations: 135.4 kB / 0.6896 GB, free: 2.641 MB / 0.5137 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.0004185/0.4927, allocations: 196.8 kB / 0.6898 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.4933, allocations: 231.2 kB / 0.69 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.4933, allocations: 2 kB / 0.69 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4935, allocations: 67.83 kB / 0.6901 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.4946, allocations: 217.2 kB / 0.6903 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.4961, allocations: 0.7366 MB / 0.691 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4966, allocations: 0.7866 MB / 0.6918 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.4969, allocations: 68.7 kB / 0.6918 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.497, allocations: 38.14 kB / 0.6919 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.497, allocations: 0 / 0.6919 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of Templates: time 0.01522/0.5122, allocations: 7.175 MB / 0.6989 GB, free: 13.35 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)