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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001426/0.001426, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 8.016 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.8371/0.8371, allocations: 134 MB / 446.4 MB, free: 10.23 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.001924/0.001924, allocations: 70.45 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1745, allocations: 85.91 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01773/0.1923, allocations: 14.78 MB / 0.7169 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005453/0.1977, allocations: 3.679 MB / 0.7205 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003832/0.1981, allocations: 23.81 kB / 0.7205 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.1987, allocations: 206.7 kB / 0.7207 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2001, allocations: 0.6259 MB / 0.7213 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.2011, allocations: 417.3 kB / 0.7217 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.2025, allocations: 1.126 MB / 0.7228 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004195/0.2029, allocations: 265 kB / 0.723 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009848/0.2039, allocations: 405 kB / 0.7234 GB, free: 11.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.2043, allocations: 326.6 kB / 0.7237 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.2044, allocations: 32 kB / 0.7238 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.205, allocations: 299.4 kB / 0.724 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.2051, allocations: 99.55 kB / 0.7241 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.2053, allocations: 207.1 kB / 0.7243 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008338/0.2061, allocations: 0.6188 MB / 0.7249 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2061, allocations: 0 / 0.7249 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2061, allocations: 3.938 kB / 0.7249 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2061, allocations: 0 / 0.7249 GB, free: 10.26 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.001212/0.2073, allocations: 0.6894 MB / 0.7256 GB, free: 9.531 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2074, allocations: 8.031 kB / 0.7256 GB, free: 9.523 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.258e-05/0.2075, allocations: 62.72 kB / 0.7257 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.2076, allocations: 52.66 kB / 0.7257 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/0.2084, allocations: 407.7 kB / 0.7261 GB, free: 8.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2084, allocations: 20.5 kB / 0.7261 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.2085, allocations: 28 kB / 0.7262 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.2091, allocations: 309.2 kB / 0.7265 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2091, allocations: 0 / 0.7265 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2091, allocations: 12 kB / 0.7265 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.2091, allocations: 11.94 kB / 0.7265 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/0.2096, allocations: 189.8 kB / 0.7267 GB, free: 8.402 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.001841/0.2114, allocations: 1.43 MB / 0.7281 GB, free: 6.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.2119, allocations: 154.5 kB / 0.7282 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.212, allocations: 64.81 kB / 0.7283 GB, free: 6.629 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.63e-05/0.2121, allocations: 7.984 kB / 0.7283 GB, free: 6.621 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.2124, allocations: 135.2 kB / 0.7284 GB, free: 6.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2124, allocations: 0 / 0.7284 GB, free: 6.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006201/0.213, allocations: 236.4 kB / 0.7286 GB, free: 6.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2131, allocations: 55.41 kB / 0.7287 GB, free: 6.176 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.2135, allocations: 361.6 kB / 0.729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.2135, allocations: 29.7 kB / 0.7291 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.2137, allocations: 220.1 kB / 0.7293 GB, free: 5.559 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.2138, allocations: 51.53 kB / 0.7293 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.2138, allocations: 49.7 kB / 0.7294 GB, free: 5.453 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.214, allocations: 346.8 kB / 0.7297 GB, free: 5.105 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.2142, allocations: 67.95 kB / 0.7298 GB, free: 5.039 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.2144, allocations: 145.4 kB / 0.7299 GB, free: 4.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.2149, allocations: 253 kB / 0.7301 GB, free: 4.578 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2149, allocations: 0 / 0.7301 GB, free: 4.578 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000613/0.2155, allocations: 320.6 kB / 0.7305 GB, free: 4.254 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.2155, allocations: 37.69 kB / 0.7305 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.2155, allocations: 4.312 kB / 0.7305 GB, free: 4.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2155, allocations: 8 kB / 0.7305 GB, free: 4.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2158, allocations: 55.91 kB / 0.7306 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2158, allocations: 4 kB / 0.7306 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.216, allocations: 31.83 kB / 0.7306 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.216, allocations: 11.98 kB / 0.7306 GB, free: 4.098 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.0001679/0.2162, allocations: 161.7 kB / 0.7308 GB, free: 3.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.2163, allocations: 43.69 kB / 0.7308 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004486/0.2167, allocations: 196.5 kB / 0.731 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2167, allocations: 0 / 0.731 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.2167, allocations: 4 kB / 0.731 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005162/0.2172, allocations: 487.6 kB / 0.7315 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.2177, allocations: 320.5 kB / 0.7318 GB, free: 2.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2177, allocations: 3.938 kB / 0.7318 GB, free: 2.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.2178, allocations: 35.97 kB / 0.7318 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2178, allocations: 3.938 kB / 0.7318 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2178, allocations: 4 kB / 0.7318 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2178, allocations: 4 kB / 0.7318 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2178, allocations: 0 / 0.7318 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.2185, allocations: 296.9 kB / 0.7321 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.2186, allocations: 59.69 kB / 0.7321 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.2187, allocations: 4 kB / 0.7321 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.2189, allocations: 19.98 kB / 0.7322 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/0.219, allocations: 11.97 kB / 0.7322 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.219, allocations: 11.98 kB / 0.7322 GB, free: 2.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002865/0.2193, allocations: 247.2 kB / 0.7324 GB, free: 2.066 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2193, allocations: 0 / 0.7324 GB, free: 2.066 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004501/0.2197, allocations: 123.7 kB / 0.7325 GB, free: 1.945 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.001194/0.2209, allocations: 0.9048 MB / 0.7334 GB, free: 1.008 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005241/0.2214, allocations: 219.6 kB / 0.7336 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2214, allocations: 4 kB / 0.7336 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.2216, allocations: 70.5 kB / 0.7337 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000962/0.2226, allocations: 217.9 kB / 0.7339 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/0.2271, allocations: 3.067 MB / 0.7369 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.2275, allocations: 0.7879 MB / 0.7377 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002306/0.2277, allocations: 63.19 kB / 0.7377 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.2279, allocations: 119.4 kB / 0.7379 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2279, allocations: 4 kB / 0.7379 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.2675, allocations: 10.51 MB / 0.7481 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.64, allocations: 18.61 kB / 0.7481 GB, free: 2.016 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 & 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: 15.547503091998806] Failed to read output from testmodel.py, exit status != 0: 11.747119656996801 12.04682073 11.838312928 Calling exit ...