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.001223/0.001223, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001401/0.001401, allocations: 217.4 kB / 23.04 MB, free: 5.074 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.002434/0.002434, allocations: 289.4 kB / 313.5 MB, free: 2.785 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.195/1.195, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002734/0.002734, allocations: 100.3 kB / 0.7403 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1809, allocations: 95.38 MB / 0.8335 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01845/0.1994, allocations: 14.76 MB / 0.8479 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005969/0.2053, allocations: 3.671 MB / 0.8515 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.2061, allocations: 27.75 kB / 0.8515 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.207, allocations: 214.7 kB / 0.8517 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.209, allocations: 0.622 MB / 0.8523 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.2102, allocations: 418.5 kB / 0.8527 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001951/0.2122, allocations: 1.12 MB / 0.8538 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006635/0.2129, allocations: 270.1 kB / 0.8541 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.2143, allocations: 399.7 kB / 0.8545 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006551/0.2149, allocations: 330.6 kB / 0.8548 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.622e-05/0.215, allocations: 32 kB / 0.8548 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008127/0.2158, allocations: 295.4 kB / 0.8551 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.216, allocations: 99.55 kB / 0.8552 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.2163, allocations: 211 kB / 0.8554 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.2175, allocations: 0.6188 MB / 0.856 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2175, allocations: 0 / 0.856 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2175, allocations: 0 / 0.856 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.746e-05/0.2176, allocations: 0 / 0.856 GB, free: 1.516 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.001505/0.2191, allocations: 0.6855 MB / 0.8567 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2191, allocations: 9.344 kB / 0.8567 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.396e-05/0.2191, allocations: 12.69 kB / 0.8567 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.2192, allocations: 62.72 kB / 0.8567 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2194, allocations: 48.69 kB / 0.8568 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009592/0.2204, allocations: 412.7 kB / 0.8572 GB, free: 236 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.2204, allocations: 24.44 kB / 0.8572 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.233e-05/0.2205, allocations: 24 kB / 0.8572 GB, free: 184 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008003/0.2213, allocations: 313.2 kB / 0.8575 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2213, allocations: 3.938 kB / 0.8575 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.2214, allocations: 12 kB / 0.8575 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.2214, allocations: 8 kB / 0.8575 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.2219, allocations: 197.8 kB / 0.8577 GB, free: 15.64 MB / 0.6075 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.002497/0.2244, allocations: 1.425 MB / 0.8591 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005337/0.225, allocations: 150.6 kB / 0.8593 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2252, allocations: 60.81 kB / 0.8593 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.2253, allocations: 11.98 kB / 0.8593 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003688/0.2257, allocations: 123.3 kB / 0.8595 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 4.308e-06/0.2257, allocations: 0 / 0.8595 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0007544/0.2265, allocations: 244.4 kB / 0.8597 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.2265, allocations: 55.41 kB / 0.8597 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.227, allocations: 353.6 kB / 0.8601 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.2271, allocations: 29.7 kB / 0.8601 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.2273, allocations: 228.1 kB / 0.8603 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.2273, allocations: 51.58 kB / 0.8604 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2274, allocations: 49.7 kB / 0.8604 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2276, allocations: 346.8 kB / 0.8607 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.2279, allocations: 71.95 kB / 0.8608 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.2281, allocations: 149.8 kB / 0.861 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.2286, allocations: 246.4 kB / 0.8612 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.2286, allocations: 0 / 0.8612 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007285/0.2293, allocations: 314.8 kB / 0.8615 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.2294, allocations: 33.7 kB / 0.8615 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2294, allocations: 4 kB / 0.8615 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.2294, allocations: 11.92 kB / 0.8615 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2297, allocations: 60.22 kB / 0.8616 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2297, allocations: 4 kB / 0.8616 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.23, allocations: 35.77 kB / 0.8616 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.23, allocations: 11.94 kB / 0.8616 GB, free: 11.34 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.0002019/0.2302, allocations: 158.4 kB / 0.8618 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.2303, allocations: 31.81 kB / 0.8618 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.2308, allocations: 212.2 kB / 0.862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2308, allocations: 0 / 0.862 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2308, allocations: 3.984 kB / 0.862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005731/0.2314, allocations: 487.7 kB / 0.8625 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.2319, allocations: 324.5 kB / 0.8628 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2319, allocations: 0 / 0.8628 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.232, allocations: 27.98 kB / 0.8628 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.232, allocations: 4 kB / 0.8628 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.2321, allocations: 11.92 kB / 0.8629 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2321, allocations: 4 kB / 0.8629 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.2321, allocations: 7.938 kB / 0.8629 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006383/0.2327, allocations: 283.4 kB / 0.8631 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2329, allocations: 47.84 kB / 0.8632 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.2329, allocations: 11.92 kB / 0.8632 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2331, allocations: 15.98 kB / 0.8632 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.2332, allocations: 15.97 kB / 0.8632 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2332, allocations: 8 kB / 0.8632 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002808/0.2335, allocations: 251.2 kB / 0.8635 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2335, allocations: 0 / 0.8635 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004518/0.234, allocations: 123.7 kB / 0.8636 GB, free: 9.207 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.001222/0.2352, allocations: 0.9047 MB / 0.8645 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.2357, allocations: 227.6 kB / 0.8647 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2357, allocations: 0 / 0.8647 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.2359, allocations: 71.89 kB / 0.8648 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2369, allocations: 218.8 kB / 0.865 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.2416, allocations: 3.062 MB / 0.868 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.242, allocations: 0.7918 MB / 0.8687 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.2423, allocations: 67.17 kB / 0.8688 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.2425, allocations: 115.4 kB / 0.8689 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2425, allocations: 8 kB / 0.8689 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03902/0.2815, allocations: 10.54 MB / 0.8792 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.62, allocations: 4.062 kB / 0.8792 GB, free: 9.266 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.726451663009357] Failed to read output from testmodel.py, exit status != 0: 11.78658390295459 11.81362652 11.590806794 Calling exit ...