Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001768/0.001768, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002175/0.002175, allocations: 220.2 kB / 23.03 MB, free: 4.945 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002496/0.002496, allocations: 287.3 kB / 313.5 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.165/1.165, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.0028/0.0028, allocations: 93.86 kB / 0.7402 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.164, allocations: 95.38 MB / 0.8334 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01672/0.1808, allocations: 13.46 MB / 0.8465 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.186, allocations: 3.383 MB / 0.8498 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004445/0.1865, allocations: 23.81 kB / 0.8499 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005904/0.1871, allocations: 198.7 kB / 0.85 GB, free: 7.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.1885, allocations: 0.6298 MB / 0.8507 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009448/0.1895, allocations: 407.2 kB / 0.851 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1909, allocations: 1.126 MB / 0.8521 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000417/0.1914, allocations: 265.5 kB / 0.8524 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000991/0.1923, allocations: 409.5 kB / 0.8528 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004888/0.1928, allocations: 322.5 kB / 0.8531 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.04e-05/0.1929, allocations: 32 kB / 0.8531 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.1934, allocations: 227.5 kB / 0.8533 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.1935, allocations: 95.61 kB / 0.8534 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1938, allocations: 179.2 kB / 0.8536 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008798/0.1946, allocations: 0.6072 MB / 0.8542 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1946, allocations: 0 / 0.8542 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.654e-06/0.1946, allocations: 0 / 0.8542 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.1946, allocations: 4 kB / 0.8542 GB, free: 2.969 MB / 0.5919 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.00118/0.1958, allocations: 0.6815 MB / 0.8549 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1959, allocations: 9.344 kB / 0.8549 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.084e-05/0.1959, allocations: 8.688 kB / 0.8549 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.023e-05/0.196, allocations: 62.72 kB / 0.8549 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.1961, allocations: 44.7 kB / 0.855 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.1969, allocations: 420.6 kB / 0.8554 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.1969, allocations: 24.44 kB / 0.8554 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.197, allocations: 31.98 kB / 0.8554 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.1977, allocations: 408.1 kB / 0.8558 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1977, allocations: 0 / 0.8558 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.1977, allocations: 16 kB / 0.8558 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1977, allocations: 11.94 kB / 0.8559 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.1982, allocations: 193.8 kB / 0.856 GB, free: 0.9688 MB / 0.5919 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.001773/0.2, allocations: 1.143 MB / 0.8572 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.2005, allocations: 150.6 kB / 0.8573 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.2007, allocations: 60.81 kB / 0.8574 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.2008, allocations: 19.88 kB / 0.8574 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.2011, allocations: 230.1 kB / 0.8576 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.2011, allocations: 0 / 0.8576 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006494/0.2018, allocations: 236.1 kB / 0.8578 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2018, allocations: 59.41 kB / 0.8579 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.2022, allocations: 349.6 kB / 0.8582 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.2022, allocations: 33.64 kB / 0.8582 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2024, allocations: 228 kB / 0.8585 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.563e-05/0.2025, allocations: 51.59 kB / 0.8585 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.2026, allocations: 49.7 kB / 0.8586 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2027, allocations: 346.8 kB / 0.8589 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.2029, allocations: 97.66 kB / 0.859 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.2032, allocations: 172.3 kB / 0.8592 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.2037, allocations: 253.3 kB / 0.8594 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2037, allocations: 4 kB / 0.8594 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006799/0.2044, allocations: 338.9 kB / 0.8597 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.2044, allocations: 37.69 kB / 0.8598 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2044, allocations: 4 kB / 0.8598 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.2044, allocations: 7.938 kB / 0.8598 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.2047, allocations: 56.22 kB / 0.8598 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2047, allocations: 8 kB / 0.8598 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.205, allocations: 39.77 kB / 0.8599 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.205, allocations: 8 kB / 0.8599 GB, free: 12.78 MB / 0.6075 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.0001925/0.2052, allocations: 158.4 kB / 0.86 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.2052, allocations: 31.81 kB / 0.8601 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.2057, allocations: 204.3 kB / 0.8603 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.2057, allocations: 0 / 0.8603 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2057, allocations: 4 kB / 0.8603 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005534/0.2063, allocations: 487.6 kB / 0.8607 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.2068, allocations: 292.5 kB / 0.861 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2068, allocations: 0 / 0.861 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.2069, allocations: 35.91 kB / 0.861 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2069, allocations: 0 / 0.861 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.207, allocations: 7.938 kB / 0.861 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.207, allocations: 0 / 0.861 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.207, allocations: 4 kB / 0.861 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.2076, allocations: 291.3 kB / 0.8613 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.2077, allocations: 47.78 kB / 0.8614 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.39e-05/0.2078, allocations: 7.938 kB / 0.8614 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.208, allocations: 15.92 kB / 0.8614 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.2081, allocations: 23.91 kB / 0.8614 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/0.2081, allocations: 7.984 kB / 0.8614 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002921/0.2084, allocations: 247.2 kB / 0.8617 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2084, allocations: 4 kB / 0.8617 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004611/0.2089, allocations: 127.7 kB / 0.8618 GB, free: 10.67 MB / 0.6075 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.001283/0.2102, allocations: 0.9185 MB / 0.8627 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005535/0.2107, allocations: 249.4 kB / 0.8629 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2107, allocations: 0 / 0.8629 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.2109, allocations: 66.56 kB / 0.863 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/0.2119, allocations: 213.6 kB / 0.8632 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.2167, allocations: 3.18 MB / 0.8663 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2169, allocations: 185.8 kB / 0.8665 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002643/0.2171, allocations: 63.19 kB / 0.8665 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.2173, allocations: 127.3 kB / 0.8666 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2173, allocations: 0 / 0.8666 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.2547, allocations: 11.21 MB / 0.8776 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.9, allocations: 4.062 kB / 0.8776 GB, free: 10.61 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.955939642968588] Failed to read output from testmodel.py, exit status != 0: 12.066123050055467 12.081262096 11.883681045 Calling exit ...