Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00166/0.00166, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00192/0.00192, allocations: 210.5 kB / 22.99 MB, free: 4.605 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.44/1.44, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9271/0.9271, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002035/0.002035, allocations: 62.81 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1834, allocations: 89.18 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.0156/0.199, allocations: 13.47 MB / 0.7413 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005164/0.2042, allocations: 3.393 MB / 0.7446 GB, free: 136 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003622/0.2046, allocations: 23.81 kB / 0.7446 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006255/0.2052, allocations: 198.8 kB / 0.7448 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001349/0.2065, allocations: 0.6376 MB / 0.7455 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.2074, allocations: 394.8 kB / 0.7458 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001278/0.2087, allocations: 1.122 MB / 0.7469 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.2091, allocations: 257.2 kB / 0.7472 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.2103, allocations: 455.5 kB / 0.7476 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.2108, allocations: 302.6 kB / 0.7479 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.2109, allocations: 32 kB / 0.7479 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.2114, allocations: 223.5 kB / 0.7481 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.2115, allocations: 95.61 kB / 0.7482 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.2117, allocations: 175.2 kB / 0.7484 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009109/0.2127, allocations: 0.6111 MB / 0.749 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2127, allocations: 0 / 0.749 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2127, allocations: 0 / 0.749 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.2127, allocations: 4 kB / 0.749 GB, free: 11.64 MB / 0.5762 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.001352/0.214, allocations: 0.6816 MB / 0.7497 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.2141, allocations: 8.031 kB / 0.7497 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.079e-05/0.2142, allocations: 62.72 kB / 0.7497 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2143, allocations: 52.66 kB / 0.7498 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/0.2151, allocations: 408.1 kB / 0.7502 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.2151, allocations: 24.44 kB / 0.7502 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/0.2152, allocations: 32 kB / 0.7502 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.2158, allocations: 416.1 kB / 0.7506 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.2158, allocations: 3.953 kB / 0.7506 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.2159, allocations: 8 kB / 0.7506 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.2159, allocations: 8 kB / 0.7506 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.2163, allocations: 193.8 kB / 0.7508 GB, free: 9.656 MB / 0.5762 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.001671/0.218, allocations: 1.143 MB / 0.7519 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2185, allocations: 146.6 kB / 0.7521 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2186, allocations: 64.81 kB / 0.7521 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.2187, allocations: 8 kB / 0.7521 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.2191, allocations: 242 kB / 0.7524 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.2191, allocations: 0 / 0.7524 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006245/0.2197, allocations: 232.4 kB / 0.7526 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2197, allocations: 63.33 kB / 0.7527 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.2201, allocations: 353.6 kB / 0.753 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.2202, allocations: 33.7 kB / 0.753 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2203, allocations: 216.1 kB / 0.7532 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.2204, allocations: 63.52 kB / 0.7533 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.2205, allocations: 53.66 kB / 0.7533 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2206, allocations: 350.7 kB / 0.7537 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.2208, allocations: 93.66 kB / 0.7538 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.2211, allocations: 171.1 kB / 0.7539 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.2215, allocations: 253.4 kB / 0.7542 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2215, allocations: 0 / 0.7542 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006112/0.2221, allocations: 346.4 kB / 0.7545 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.2222, allocations: 37.64 kB / 0.7545 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2222, allocations: 3.984 kB / 0.7545 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.2222, allocations: 4 kB / 0.7545 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2224, allocations: 59.91 kB / 0.7546 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.2224, allocations: 4 kB / 0.7546 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2226, allocations: 40.14 kB / 0.7546 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.2227, allocations: 8 kB / 0.7547 GB, free: 5.449 MB / 0.5762 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.0001707/0.2228, allocations: 165.7 kB / 0.7548 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.603e-05/0.2229, allocations: 35.75 kB / 0.7548 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004502/0.2233, allocations: 192.4 kB / 0.755 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2233, allocations: 4 kB / 0.755 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2233, allocations: 0 / 0.755 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000522/0.2239, allocations: 491.7 kB / 0.7555 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.2243, allocations: 288.5 kB / 0.7558 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2243, allocations: 0 / 0.7558 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2244, allocations: 35.91 kB / 0.7558 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2245, allocations: 3.938 kB / 0.7558 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.2245, allocations: 8 kB / 0.7558 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2245, allocations: 0 / 0.7558 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2245, allocations: 0 / 0.7558 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006217/0.2251, allocations: 288.7 kB / 0.7561 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.2252, allocations: 59.59 kB / 0.7562 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.2253, allocations: 4 kB / 0.7562 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2255, allocations: 15.98 kB / 0.7562 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.2255, allocations: 15.97 kB / 0.7562 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.2256, allocations: 11.98 kB / 0.7562 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002589/0.2258, allocations: 251.1 kB / 0.7564 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2258, allocations: 0 / 0.7564 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003986/0.2262, allocations: 123.8 kB / 0.7566 GB, free: 3.34 MB / 0.5762 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.001074/0.2273, allocations: 0.9075 MB / 0.7574 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2278, allocations: 244.8 kB / 0.7577 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2278, allocations: 0 / 0.7577 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.228, allocations: 68.58 kB / 0.7577 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008923/0.2289, allocations: 223.3 kB / 0.758 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3322/0.5611, allocations: 3.168 MB / 0.7611 GB, free: 34.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.5612, allocations: 179.2 kB / 0.7612 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002996/0.5615, allocations: 61.83 kB / 0.7613 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5617, allocations: 123.8 kB / 0.7614 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.5617, allocations: 1.5 kB / 0.7614 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/0.6069, allocations: 11.56 MB / 0.7727 GB, free: 32.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.76, allocations: 8.047 kB / 0.7727 GB, free: 32.94 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.530499186832458] Failed to read output from testmodel.py, exit status != 0: 11.869904297869653 11.885206794 11.669653991 Calling exit ...