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.001461/0.001461, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00155/0.00155, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.499/1.499, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.823/0.823, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 72.23 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01785/0.1889, allocations: 14.44 MB / 0.6744 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005517/0.1945, allocations: 3.636 MB / 0.678 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.1952, allocations: 19.88 kB / 0.678 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008097/0.1961, allocations: 202.7 kB / 0.6782 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1979, allocations: 0.5829 MB / 0.6788 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.199, allocations: 395.8 kB / 0.6791 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.2006, allocations: 1.083 MB / 0.6802 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.2013, allocations: 325 kB / 0.6805 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.2025, allocations: 404.5 kB / 0.6809 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.2031, allocations: 314.6 kB / 0.6812 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.2033, allocations: 32 kB / 0.6812 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.204, allocations: 251.5 kB / 0.6815 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.2042, allocations: 99.66 kB / 0.6815 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.2045, allocations: 218.9 kB / 0.6818 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.2056, allocations: 0.5881 MB / 0.6823 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2056, allocations: 3.938 kB / 0.6823 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2056, allocations: 0 / 0.6823 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.2057, allocations: 4 kB / 0.6823 GB, free: 3.656 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.001414/0.2071, allocations: 0.7535 MB / 0.6831 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2071, allocations: 8.031 kB / 0.6831 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.2073, allocations: 44.47 kB / 0.6831 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.2082, allocations: 470.9 kB / 0.6836 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.2082, allocations: 20.5 kB / 0.6836 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.2083, allocations: 31.91 kB / 0.6836 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.2089, allocations: 306.2 kB / 0.6839 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2089, allocations: 3.984 kB / 0.6839 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.209, allocations: 12 kB / 0.6839 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.209, allocations: 4 kB / 0.6839 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.2095, allocations: 202 kB / 0.6841 GB, free: 1.711 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.00197/0.2115, allocations: 1.477 MB / 0.6856 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.212, allocations: 146.6 kB / 0.6857 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.2122, allocations: 68.81 kB / 0.6858 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.2123, allocations: 93.09 kB / 0.6859 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/0.2126, allocations: 143 kB / 0.686 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 2.264e-06/0.2127, allocations: 0 / 0.686 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006574/0.2133, allocations: 227.3 kB / 0.6862 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.2134, allocations: 59.34 kB / 0.6863 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.2138, allocations: 349.7 kB / 0.6866 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.2138, allocations: 33.7 kB / 0.6866 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.214, allocations: 211.8 kB / 0.6868 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.698e-05/0.2141, allocations: 55.2 kB / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.2142, allocations: 53.7 kB / 0.6869 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2143, allocations: 346.7 kB / 0.6873 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2145, allocations: 71.95 kB / 0.6873 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2148, allocations: 145.3 kB / 0.6875 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.2152, allocations: 241 kB / 0.6877 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2153, allocations: 4 kB / 0.6877 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006476/0.2159, allocations: 322.7 kB / 0.688 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.216, allocations: 39.58 kB / 0.6881 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.216, allocations: 4 kB / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.216, allocations: 4 kB / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2163, allocations: 51.91 kB / 0.6881 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2163, allocations: 7.984 kB / 0.6881 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.2166, allocations: 27.78 kB / 0.6882 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.2166, allocations: 15.98 kB / 0.6882 GB, free: 13.26 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.000177/0.2168, allocations: 161.8 kB / 0.6883 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.2169, allocations: 39.56 kB / 0.6884 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.2173, allocations: 196.4 kB / 0.6885 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2174, allocations: 4 kB / 0.6886 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.2174, allocations: 4 kB / 0.6886 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005056/0.2179, allocations: 486.4 kB / 0.689 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.2184, allocations: 353.4 kB / 0.6894 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.2184, allocations: 0 / 0.6894 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.2186, allocations: 39.84 kB / 0.6894 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.2186, allocations: 4 kB / 0.6894 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.2186, allocations: 4 kB / 0.6894 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2186, allocations: 0 / 0.6894 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2186, allocations: 0 / 0.6894 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2192, allocations: 280.6 kB / 0.6897 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.2194, allocations: 128.7 kB / 0.6898 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.2195, allocations: 4 kB / 0.6898 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.2197, allocations: 15.98 kB / 0.6898 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.2198, allocations: 15.97 kB / 0.6898 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2198, allocations: 8 kB / 0.6898 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002858/0.2201, allocations: 255.1 kB / 0.6901 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2201, allocations: 0 / 0.6901 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004733/0.2206, allocations: 131.9 kB / 0.6902 GB, free: 10.98 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.0004137/0.221, allocations: 202 kB / 0.6904 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005246/0.2215, allocations: 225.4 kB / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2216, allocations: 4.125 kB / 0.6906 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2217, allocations: 67.91 kB / 0.6907 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.2227, allocations: 209.3 kB / 0.6909 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2242, allocations: 0.7676 MB / 0.6916 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2246, allocations: 0.7879 MB / 0.6924 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2247, allocations: 39.36 kB / 0.6924 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.2247, allocations: 0 / 0.6924 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of Templates: time 0.01028/0.235, allocations: 6.194 MB / 0.6985 GB, free: 2.496 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)