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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 112.1 kB / 16.41 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001265, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8404/0.8404, allocations: 132.2 MB / 429.4 MB, free: 5.973 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 76.3 kB / 0.5894 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1612, allocations: 80.21 MB / 0.6677 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0164/0.1776, allocations: 14.43 MB / 0.6818 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005488/0.1832, allocations: 3.658 MB / 0.6853 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004647/0.1837, allocations: 19.88 kB / 0.6854 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.1843, allocations: 194.8 kB / 0.6856 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.1858, allocations: 0.5829 MB / 0.6861 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009614/0.1867, allocations: 402.3 kB / 0.6865 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.1881, allocations: 1.083 MB / 0.6876 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.1886, allocations: 320.5 kB / 0.6879 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.1899, allocations: 387.1 kB / 0.6882 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.1904, allocations: 306.6 kB / 0.6885 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.1905, allocations: 36 kB / 0.6886 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.1911, allocations: 263.5 kB / 0.6888 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1913, allocations: 95.67 kB / 0.6889 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002575/0.1915, allocations: 222.9 kB / 0.6891 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009219/0.1925, allocations: 0.5916 MB / 0.6897 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1925, allocations: 0 / 0.6897 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1925, allocations: 4 kB / 0.6897 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.1925, allocations: 0 / 0.6897 GB, free: 3.203 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.001265/0.1938, allocations: 0.7608 MB / 0.6904 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1938, allocations: 8.031 kB / 0.6905 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.267e-05/0.1939, allocations: 62.72 kB / 0.6905 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.1941, allocations: 52.66 kB / 0.6906 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.1949, allocations: 470.9 kB / 0.691 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1949, allocations: 20.56 kB / 0.691 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.825e-05/0.195, allocations: 27.95 kB / 0.6911 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.1956, allocations: 310.2 kB / 0.6914 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.1956, allocations: 0 / 0.6914 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.1956, allocations: 15.98 kB / 0.6914 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.1957, allocations: 8 kB / 0.6914 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.1961, allocations: 194 kB / 0.6916 GB, free: 1.176 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.001897/0.198, allocations: 1.485 MB / 0.693 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.1985, allocations: 146.6 kB / 0.6932 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.1987, allocations: 72.81 kB / 0.6932 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.1989, allocations: 89.03 kB / 0.6933 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.1992, allocations: 142.3 kB / 0.6934 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.1992, allocations: 0 / 0.6934 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006593/0.1999, allocations: 233.3 kB / 0.6937 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.1999, allocations: 55.41 kB / 0.6937 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.2003, allocations: 349.7 kB / 0.694 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2004, allocations: 37.64 kB / 0.6941 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.2006, allocations: 220.1 kB / 0.6943 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.2006, allocations: 59.52 kB / 0.6944 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.2007, allocations: 53.66 kB / 0.6944 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2009, allocations: 346.8 kB / 0.6947 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.2011, allocations: 63.95 kB / 0.6948 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.2014, allocations: 149.4 kB / 0.6949 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004409/0.2018, allocations: 241.5 kB / 0.6952 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2018, allocations: 0 / 0.6952 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006152/0.2025, allocations: 318.7 kB / 0.6955 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.625e-05/0.2025, allocations: 29.7 kB / 0.6955 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2025, allocations: 4.312 kB / 0.6955 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2025, allocations: 8 kB / 0.6955 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.2028, allocations: 55.91 kB / 0.6956 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2028, allocations: 7.984 kB / 0.6956 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.203, allocations: 35.78 kB / 0.6956 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.2031, allocations: 11.98 kB / 0.6956 GB, free: 12.71 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.0001625/0.2032, allocations: 153.8 kB / 0.6958 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.2033, allocations: 39.7 kB / 0.6958 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/0.2038, allocations: 200.5 kB / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2038, allocations: 0 / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2038, allocations: 0 / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005365/0.2044, allocations: 490.5 kB / 0.6965 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.2048, allocations: 353.4 kB / 0.6968 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2048, allocations: 3.938 kB / 0.6968 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.205, allocations: 39.91 kB / 0.6968 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.205, allocations: 0 / 0.6968 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.205, allocations: 0 / 0.6968 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2051, allocations: 7.938 kB / 0.6968 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2051, allocations: 0 / 0.6968 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.2057, allocations: 284.7 kB / 0.6971 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.2059, allocations: 129 kB / 0.6972 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.2059, allocations: 7.984 kB / 0.6973 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.2061, allocations: 19.88 kB / 0.6973 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.2062, allocations: 23.91 kB / 0.6973 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2063, allocations: 8 kB / 0.6973 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002689/0.2065, allocations: 251.2 kB / 0.6975 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2065, allocations: 0 / 0.6975 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004167/0.207, allocations: 123.7 kB / 0.6977 GB, free: 10.43 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.001196/0.2082, allocations: 0.9126 MB / 0.6985 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000522/0.2087, allocations: 234 kB / 0.6988 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2087, allocations: 4 kB / 0.6988 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.2089, allocations: 71.89 kB / 0.6988 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.2099, allocations: 214.1 kB / 0.699 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.2143, allocations: 3.061 MB / 0.702 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004983/0.2148, allocations: 0.7918 MB / 0.7028 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.215, allocations: 67.19 kB / 0.7029 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.2152, allocations: 127.3 kB / 0.703 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.2152, allocations: 0 / 0.703 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03674/0.252, allocations: 10.22 MB / 0.713 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.529, allocations: 6.109 kB / 0.713 GB, free: 10.75 MB / 0.545 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.227452861028723] Failed to read output from testmodel.py, exit status != 0: 8.601575055974536 8.62635158 8.429709028 Calling exit ...