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.00129/0.00129, allocations: 113 kB / 18.94 MB, free: 2.934 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.001947/0.001947, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 8.047 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.00256/0.00256, allocations: 295.9 kB / 312.7 MB, free: 2.836 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.177/1.177, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",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.002829/0.002829, allocations: 109.3 kB / 0.7396 GB, free: 28.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1739, allocations: 95.38 MB / 0.8327 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.017/0.1909, allocations: 14.77 MB / 0.8471 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005894/0.1968, allocations: 3.663 MB / 0.8507 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1973, allocations: 27.75 kB / 0.8507 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.1979, allocations: 222.6 kB / 0.8509 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1993, allocations: 0.6236 MB / 0.8516 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.2002, allocations: 413.8 kB / 0.852 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.2017, allocations: 1.127 MB / 0.8531 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004144/0.2021, allocations: 253.5 kB / 0.8533 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000981/0.2031, allocations: 413.8 kB / 0.8537 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.2035, allocations: 334.5 kB / 0.854 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.2036, allocations: 32 kB / 0.854 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006477/0.2042, allocations: 291.4 kB / 0.8543 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2044, allocations: 103.5 kB / 0.8544 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.2046, allocations: 215 kB / 0.8546 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009637/0.2056, allocations: 0.6188 MB / 0.8552 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2056, allocations: 0 / 0.8552 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2056, allocations: 0 / 0.8552 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.2056, allocations: 0 / 0.8552 GB, free: 1.574 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.00125/0.2068, allocations: 0.6816 MB / 0.8559 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2069, allocations: 13.34 kB / 0.8559 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.762e-05/0.207, allocations: 58.73 kB / 0.856 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.2072, allocations: 52.69 kB / 0.856 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.208, allocations: 408.6 kB / 0.8564 GB, free: 312 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.208, allocations: 24.62 kB / 0.8564 GB, free: 288 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.208, allocations: 24 kB / 0.8564 GB, free: 264 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.2087, allocations: 309.3 kB / 0.8567 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2087, allocations: 3.984 kB / 0.8567 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.2087, allocations: 16 kB / 0.8568 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.2087, allocations: 12 kB / 0.8568 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.2092, allocations: 193.8 kB / 0.857 GB, free: 15.71 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.001901/0.2111, allocations: 1.425 MB / 0.8583 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.2116, allocations: 150.6 kB / 0.8585 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.2117, allocations: 60.81 kB / 0.8585 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/0.2118, allocations: 8 kB / 0.8586 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.2121, allocations: 131.2 kB / 0.8587 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.2121, allocations: 4 kB / 0.8587 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006394/0.2128, allocations: 233.3 kB / 0.8589 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2128, allocations: 55.39 kB / 0.859 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.2133, allocations: 345.7 kB / 0.8593 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.2133, allocations: 33.7 kB / 0.8593 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.2135, allocations: 224 kB / 0.8595 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.685e-05/0.2135, allocations: 59.58 kB / 0.8596 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.45e-05/0.2136, allocations: 49.7 kB / 0.8596 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.2138, allocations: 338.8 kB / 0.86 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/0.214, allocations: 79.94 kB / 0.86 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.2142, allocations: 146.6 kB / 0.8602 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.2147, allocations: 242.1 kB / 0.8604 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2147, allocations: 4 kB / 0.8604 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005934/0.2153, allocations: 318.7 kB / 0.8607 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.2153, allocations: 41.64 kB / 0.8608 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2153, allocations: 0 / 0.8608 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2153, allocations: 7.938 kB / 0.8608 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2155, allocations: 56.22 kB / 0.8608 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2156, allocations: 8 kB / 0.8608 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2158, allocations: 35.77 kB / 0.8609 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2158, allocations: 11.98 kB / 0.8609 GB, free: 11.42 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.0001751/0.216, allocations: 154.4 kB / 0.861 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-05/0.216, allocations: 35.81 kB / 0.8611 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.2165, allocations: 202.8 kB / 0.8612 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.2165, allocations: 11.92 kB / 0.8613 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2165, allocations: 3.984 kB / 0.8613 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005403/0.2171, allocations: 479.7 kB / 0.8617 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004378/0.2175, allocations: 324.5 kB / 0.862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2175, allocations: 0 / 0.862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2177, allocations: 31.97 kB / 0.8621 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2177, allocations: 3.938 kB / 0.8621 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2177, allocations: 12 kB / 0.8621 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2177, allocations: 3.938 kB / 0.8621 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2177, allocations: 4 kB / 0.8621 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.2183, allocations: 279.3 kB / 0.8623 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.2184, allocations: 55.78 kB / 0.8624 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.2185, allocations: 4 kB / 0.8624 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2187, allocations: 27.91 kB / 0.8624 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.2187, allocations: 7.984 kB / 0.8624 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2188, allocations: 11.98 kB / 0.8625 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000262/0.219, allocations: 247.2 kB / 0.8627 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.219, allocations: 0 / 0.8627 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000417/0.2194, allocations: 127.7 kB / 0.8628 GB, free: 9.285 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.001126/0.2206, allocations: 0.9086 MB / 0.8637 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004746/0.221, allocations: 219.7 kB / 0.8639 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.221, allocations: 8.125 kB / 0.8639 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2212, allocations: 63.91 kB / 0.864 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008988/0.2221, allocations: 217.1 kB / 0.8642 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.2265, allocations: 3.066 MB / 0.8672 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.227, allocations: 0.7957 MB / 0.868 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.2272, allocations: 63.19 kB / 0.868 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.2274, allocations: 115.4 kB / 0.8681 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.2274, allocations: 0 / 0.8681 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04617/0.2736, allocations: 10.52 MB / 0.8784 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.69, allocations: 6.047 kB / 0.8784 GB, free: 9.363 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.699403207050636] Failed to read output from testmodel.py, exit status != 0: 11.792177500901744 11.809319396 11.600635389 Calling exit ...