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.004892/0.004892, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00108/0.00108, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8358/0.8358, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 62.34 kB / 0.5813 GB, free: 1.035 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1797, allocations: 80.2 MB / 0.6597 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01887/0.1986, allocations: 14.44 MB / 0.6738 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005825/0.2044, allocations: 3.649 MB / 0.6773 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006841/0.2052, allocations: 15.94 kB / 0.6773 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.206, allocations: 210.7 kB / 0.6775 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.208, allocations: 0.6064 MB / 0.6781 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.2092, allocations: 399.3 kB / 0.6785 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.2108, allocations: 1.083 MB / 0.6796 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005046/0.2113, allocations: 328.4 kB / 0.6799 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.2124, allocations: 399.2 kB / 0.6803 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.2129, allocations: 314.6 kB / 0.6806 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.213, allocations: 32 kB / 0.6806 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.2137, allocations: 255.5 kB / 0.6808 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.2139, allocations: 103.7 kB / 0.6809 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2142, allocations: 214.9 kB / 0.6811 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008969/0.2151, allocations: 0.592 MB / 0.6817 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2151, allocations: 0 / 0.6817 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2151, allocations: 0 / 0.6817 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.2151, allocations: 0 / 0.6817 GB, free: 6.945 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.001245/0.2164, allocations: 0.7457 MB / 0.6824 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2164, allocations: 19.97 kB / 0.6825 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.2166, allocations: 48.47 kB / 0.6825 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.2174, allocations: 466.8 kB / 0.683 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2174, allocations: 24.55 kB / 0.683 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.2175, allocations: 27.91 kB / 0.683 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.2181, allocations: 310.2 kB / 0.6833 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2181, allocations: 4 kB / 0.6833 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.44e-05/0.2182, allocations: 12 kB / 0.6833 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.2182, allocations: 8 kB / 0.6833 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.2186, allocations: 194.1 kB / 0.6835 GB, free: 5 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.001842/0.2205, allocations: 1.481 MB / 0.685 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.221, allocations: 154.6 kB / 0.6851 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.2211, allocations: 64.81 kB / 0.6852 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.2213, allocations: 89.09 kB / 0.6853 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.2216, allocations: 135.1 kB / 0.6854 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.2216, allocations: 0 / 0.6854 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006359/0.2222, allocations: 232.2 kB / 0.6856 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.2223, allocations: 63.34 kB / 0.6857 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2227, allocations: 345.7 kB / 0.686 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2227, allocations: 29.7 kB / 0.686 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2229, allocations: 215.8 kB / 0.6862 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.2229, allocations: 59.19 kB / 0.6863 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.223, allocations: 53.7 kB / 0.6863 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2231, allocations: 342.8 kB / 0.6867 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.2233, allocations: 67.95 kB / 0.6867 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2236, allocations: 154.5 kB / 0.6869 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.224, allocations: 241.2 kB / 0.6871 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.224, allocations: 0 / 0.6871 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005966/0.2246, allocations: 322.5 kB / 0.6874 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.2246, allocations: 29.7 kB / 0.6874 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.2247, allocations: 4 kB / 0.6874 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2247, allocations: 4 kB / 0.6874 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.2249, allocations: 56.22 kB / 0.6875 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.2249, allocations: 11.98 kB / 0.6875 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.2252, allocations: 31.69 kB / 0.6875 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.2252, allocations: 15.98 kB / 0.6876 GB, free: 0.5469 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.0001594/0.2254, allocations: 157.2 kB / 0.6877 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.2254, allocations: 35.56 kB / 0.6877 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.2259, allocations: 204.4 kB / 0.6879 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2259, allocations: 0 / 0.6879 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2259, allocations: 0 / 0.6879 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004761/0.2264, allocations: 483.8 kB / 0.6884 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.2268, allocations: 361.2 kB / 0.6887 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2269, allocations: 0 / 0.6887 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.227, allocations: 43.84 kB / 0.6888 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2271, allocations: 0 / 0.6888 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2271, allocations: 4 kB / 0.6888 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2271, allocations: 8 kB / 0.6888 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2271, allocations: 0 / 0.6888 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.2277, allocations: 280.6 kB / 0.6891 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.2278, allocations: 124.7 kB / 0.6892 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.2279, allocations: 0 / 0.6892 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.2281, allocations: 19.98 kB / 0.6892 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.2282, allocations: 19.97 kB / 0.6892 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.2282, allocations: 4 kB / 0.6892 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002486/0.2285, allocations: 247.2 kB / 0.6895 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2285, allocations: 0 / 0.6895 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004344/0.2289, allocations: 131.9 kB / 0.6896 GB, free: 14.28 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.0003533/0.2293, allocations: 195 kB / 0.6898 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005116/0.2298, allocations: 234.4 kB / 0.69 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2298, allocations: 0 / 0.69 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.23, allocations: 67.91 kB / 0.6901 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/0.2309, allocations: 222.1 kB / 0.6903 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2323, allocations: 0.7347 MB / 0.691 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.2326, allocations: 0.7918 MB / 0.6918 GB, free: 12 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002363/0.2328, allocations: 63.19 kB / 0.6918 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.2329, allocations: 39.42 kB / 0.6919 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.2329, allocations: 0 / 0.6919 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.01291/0.2459, allocations: 7.172 MB / 0.6989 GB, free: 4.84 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)