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.001645/0.001645, allocations: 107.8 kB / 16.45 MB, free: 6.02 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.00172/0.00172, allocations: 208.3 kB / 19.43 MB, free: 3.516 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.8634/0.8634, allocations: 133.9 MB / 442.8 MB, free: 11.31 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.001917/0.001917, allocations: 63.47 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1741, allocations: 85.86 MB / 0.6972 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01781/0.1919, allocations: 14.64 MB / 0.7115 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006048/0.1979, allocations: 3.64 MB / 0.7151 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007714/0.1987, allocations: 27.75 kB / 0.7151 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009146/0.1996, allocations: 218.6 kB / 0.7153 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.2015, allocations: 0.6143 MB / 0.7159 GB, free: 15.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2026, allocations: 396.3 kB / 0.7163 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001642/0.2043, allocations: 1.089 MB / 0.7174 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000458/0.2047, allocations: 268.5 kB / 0.7176 GB, free: 14.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.2058, allocations: 413.8 kB / 0.718 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2063, allocations: 330.5 kB / 0.7183 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.2063, allocations: 39.94 kB / 0.7184 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006516/0.207, allocations: 275.5 kB / 0.7186 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.2071, allocations: 103.5 kB / 0.7187 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.2074, allocations: 211 kB / 0.7189 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.2083, allocations: 0.6189 MB / 0.7195 GB, free: 12.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2083, allocations: 3.938 kB / 0.7195 GB, free: 12.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2083, allocations: 0 / 0.7195 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2083, allocations: 0 / 0.7195 GB, free: 12.05 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.001372/0.2097, allocations: 0.7608 MB / 0.7203 GB, free: 11.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.2097, allocations: 9.109 kB / 0.7203 GB, free: 11.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.928e-05/0.2098, allocations: 62.72 kB / 0.7204 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.21, allocations: 52.66 kB / 0.7204 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008811/0.2109, allocations: 470.9 kB / 0.7209 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.2109, allocations: 20.56 kB / 0.7209 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.345e-05/0.211, allocations: 27.98 kB / 0.7209 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.2116, allocations: 314.2 kB / 0.7212 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.2116, allocations: 0 / 0.7212 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.2117, allocations: 12 kB / 0.7212 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2117, allocations: 8 kB / 0.7212 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.2122, allocations: 198 kB / 0.7214 GB, free: 10.02 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.00202/0.2142, allocations: 1.485 MB / 0.7229 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.2147, allocations: 146.6 kB / 0.723 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2149, allocations: 60.83 kB / 0.7231 GB, free: 8.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2151, allocations: 89.09 kB / 0.7231 GB, free: 8.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.2154, allocations: 141.4 kB / 0.7233 GB, free: 7.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.2154, allocations: 0 / 0.7233 GB, free: 7.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006994/0.2161, allocations: 229.3 kB / 0.7235 GB, free: 7.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.2161, allocations: 55.41 kB / 0.7236 GB, free: 7.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004193/0.2165, allocations: 357.6 kB / 0.7239 GB, free: 7.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.2166, allocations: 29.7 kB / 0.7239 GB, free: 7.242 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.2168, allocations: 224 kB / 0.7241 GB, free: 7.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.2168, allocations: 51.59 kB / 0.7242 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2169, allocations: 53.69 kB / 0.7242 GB, free: 6.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2171, allocations: 338.8 kB / 0.7246 GB, free: 6.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2173, allocations: 67.95 kB / 0.7246 GB, free: 6.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.2175, allocations: 153.3 kB / 0.7248 GB, free: 6.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.218, allocations: 246.1 kB / 0.725 GB, free: 6.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.218, allocations: 3.938 kB / 0.725 GB, free: 6.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006675/0.2187, allocations: 318.7 kB / 0.7253 GB, free: 5.715 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.2188, allocations: 36.2 kB / 0.7253 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.2188, allocations: 8 kB / 0.7254 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.2188, allocations: 4 kB / 0.7254 GB, free: 5.664 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.219, allocations: 55.91 kB / 0.7254 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.219, allocations: 4 kB / 0.7254 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.2193, allocations: 35.77 kB / 0.7255 GB, free: 5.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.2194, allocations: 19.98 kB / 0.7255 GB, free: 5.551 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.000191/0.2195, allocations: 153.8 kB / 0.7256 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.2196, allocations: 39.75 kB / 0.7257 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.2201, allocations: 200.4 kB / 0.7258 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2201, allocations: 0 / 0.7258 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2201, allocations: 0 / 0.7258 GB, free: 5.148 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005516/0.2207, allocations: 489.4 kB / 0.7263 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.2211, allocations: 353.4 kB / 0.7266 GB, free: 4.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.2212, allocations: 7.938 kB / 0.7267 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2213, allocations: 35.91 kB / 0.7267 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2213, allocations: 4 kB / 0.7267 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.2213, allocations: 0 / 0.7267 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2213, allocations: 0 / 0.7267 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2213, allocations: 0 / 0.7267 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000683/0.222, allocations: 290.8 kB / 0.727 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.2222, allocations: 124.9 kB / 0.7271 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/0.2222, allocations: 8 kB / 0.7271 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2225, allocations: 15.97 kB / 0.7271 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2226, allocations: 20.02 kB / 0.7271 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2226, allocations: 7.984 kB / 0.7271 GB, free: 3.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002768/0.2229, allocations: 251.2 kB / 0.7274 GB, free: 3.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2229, allocations: 0 / 0.7274 GB, free: 3.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004784/0.2234, allocations: 123.8 kB / 0.7275 GB, free: 3.289 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.001271/0.2247, allocations: 0.921 MB / 0.7284 GB, free: 2.336 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.2252, allocations: 217.3 kB / 0.7286 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2252, allocations: 0 / 0.7286 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2254, allocations: 70.56 kB / 0.7287 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.2264, allocations: 217 kB / 0.7289 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.2311, allocations: 3.064 MB / 0.7319 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.2316, allocations: 0.7957 MB / 0.7326 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002627/0.2318, allocations: 67.23 kB / 0.7327 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.232, allocations: 127.4 kB / 0.7328 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.232, allocations: 0 / 0.7328 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.2709, allocations: 10.24 MB / 0.7428 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.667, allocations: 6.562 kB / 0.7428 GB, free: 3.598 MB / 0.5606 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.666786019995925] Failed to read output from testmodel.py, exit status != 0: 8.743135044991504 9.079024549 8.867799765 Calling exit ...