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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 210.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.797 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.8065/0.8065, allocations: 134 MB / 446.4 MB, free: 9.938 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003006/0.003006, allocations: 65.09 kB / 0.6185 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1681, allocations: 85.91 MB / 0.7024 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01712/0.1852, allocations: 13.49 MB / 0.7155 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005276/0.1905, allocations: 3.383 MB / 0.7188 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.191, allocations: 23.81 kB / 0.7189 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.1917, allocations: 206.8 kB / 0.7191 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1933, allocations: 0.622 MB / 0.7197 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.1943, allocations: 402.2 kB / 0.7201 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001492/0.1958, allocations: 1.114 MB / 0.7211 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.1962, allocations: 249 kB / 0.7214 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009931/0.1972, allocations: 420.4 kB / 0.7218 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.1976, allocations: 306.6 kB / 0.7221 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.1977, allocations: 36 kB / 0.7221 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.1982, allocations: 219.5 kB / 0.7223 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1983, allocations: 91.62 kB / 0.7224 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1985, allocations: 183.1 kB / 0.7226 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008318/0.1994, allocations: 0.6111 MB / 0.7232 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1994, allocations: 0 / 0.7232 GB, free: 11.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1994, allocations: 0 / 0.7232 GB, free: 11.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1994, allocations: 4 kB / 0.7232 GB, free: 11.69 MB / 0.545 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.001145/0.2005, allocations: 0.6816 MB / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2006, allocations: 12.03 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.2006, allocations: 66.66 kB / 0.7239 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.2008, allocations: 48.66 kB / 0.724 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007384/0.2015, allocations: 407.8 kB / 0.7244 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.2016, allocations: 20.5 kB / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.2016, allocations: 27.94 kB / 0.7244 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.2022, allocations: 420.1 kB / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2023, allocations: 7.875 kB / 0.7248 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.2023, allocations: 12 kB / 0.7248 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.2023, allocations: 4 kB / 0.7248 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004506/0.2028, allocations: 189.8 kB / 0.725 GB, free: 9.703 MB / 0.545 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.001725/0.2045, allocations: 1.143 MB / 0.7261 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.2049, allocations: 161.7 kB / 0.7263 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.2051, allocations: 56.83 kB / 0.7263 GB, free: 8.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.619e-05/0.2052, allocations: 11.98 kB / 0.7263 GB, free: 8.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.2056, allocations: 242 kB / 0.7266 GB, free: 7.984 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.2056, allocations: 0 / 0.7266 GB, free: 7.984 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006546/0.2062, allocations: 235.1 kB / 0.7268 GB, free: 7.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2063, allocations: 55.41 kB / 0.7268 GB, free: 7.684 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.2067, allocations: 357.6 kB / 0.7272 GB, free: 7.324 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2067, allocations: 29.7 kB / 0.7272 GB, free: 7.289 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2069, allocations: 220.1 kB / 0.7274 GB, free: 7.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.2069, allocations: 63.52 kB / 0.7275 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.207, allocations: 57.66 kB / 0.7275 GB, free: 6.945 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2072, allocations: 338.8 kB / 0.7279 GB, free: 6.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.2074, allocations: 97.64 kB / 0.728 GB, free: 6.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.2076, allocations: 171.1 kB / 0.7281 GB, free: 6.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.2081, allocations: 253.7 kB / 0.7284 GB, free: 6.012 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2081, allocations: 0 / 0.7284 GB, free: 6.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006227/0.2087, allocations: 344.5 kB / 0.7287 GB, free: 5.656 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.2087, allocations: 36.2 kB / 0.7287 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2087, allocations: 0 / 0.7287 GB, free: 5.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.2088, allocations: 4 kB / 0.7287 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.209, allocations: 63.89 kB / 0.7288 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.209, allocations: 7.938 kB / 0.7288 GB, free: 5.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.2093, allocations: 44.02 kB / 0.7288 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.2093, allocations: 8 kB / 0.7288 GB, free: 5.492 MB / 0.545 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.0001702/0.2095, allocations: 161.8 kB / 0.729 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.2095, allocations: 39.7 kB / 0.729 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.21, allocations: 192.4 kB / 0.7292 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.21, allocations: 4 kB / 0.7292 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.21, allocations: 0 / 0.7292 GB, free: 5.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005168/0.2105, allocations: 494.9 kB / 0.7297 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.2109, allocations: 288.5 kB / 0.73 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2109, allocations: 3.938 kB / 0.73 GB, free: 4.195 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2111, allocations: 27.98 kB / 0.73 GB, free: 4.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.2111, allocations: 7.984 kB / 0.73 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.2111, allocations: 4 kB / 0.73 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2111, allocations: 0 / 0.73 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2111, allocations: 0 / 0.73 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006418/0.2118, allocations: 288.6 kB / 0.7303 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001331/0.2119, allocations: 55.77 kB / 0.7303 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.2119, allocations: 4 kB / 0.7303 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.2122, allocations: 15.98 kB / 0.7304 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.2122, allocations: 15.97 kB / 0.7304 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.2122, allocations: 8 kB / 0.7304 GB, free: 3.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002725/0.2125, allocations: 251.2 kB / 0.7306 GB, free: 3.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2125, allocations: 0 / 0.7306 GB, free: 3.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000435/0.213, allocations: 131.7 kB / 0.7308 GB, free: 3.387 MB / 0.545 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.001163/0.2141, allocations: 0.9128 MB / 0.7316 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.2146, allocations: 248.8 kB / 0.7319 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2146, allocations: 0 / 0.7319 GB, free: 2.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.2148, allocations: 74.98 kB / 0.732 GB, free: 2.109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009287/0.2158, allocations: 204.9 kB / 0.7321 GB, free: 1.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.2202, allocations: 3.186 MB / 0.7353 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.2204, allocations: 186.1 kB / 0.7354 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002489/0.2207, allocations: 67.12 kB / 0.7355 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2208, allocations: 119.4 kB / 0.7356 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.2208, allocations: 0 / 0.7356 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.2619, allocations: 11.56 MB / 0.7469 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.62, allocations: 4.062 kB / 0.7469 GB, free: 2.914 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 15.358257443644106] Failed to read output from testmodel.py, exit status != 0: 11.737643832806498 12.109741091 11.907716416 Calling exit ...