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.001697/0.001697, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.002303/0.002303, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9983/0.9983, allocations: 150 MB / 463.2 MB, free: 10.48 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.002999/0.002999, allocations: 66.58 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2028, allocations: 89.17 MB / 0.7283 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01795/0.2207, allocations: 14.78 MB / 0.7428 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005495/0.2262, allocations: 3.666 MB / 0.7464 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004794/0.2267, allocations: 23.81 kB / 0.7464 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.2274, allocations: 218.7 kB / 0.7466 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.2288, allocations: 0.6181 MB / 0.7472 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.2298, allocations: 424.8 kB / 0.7476 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.2313, allocations: 1.134 MB / 0.7487 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.2317, allocations: 261 kB / 0.7489 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.2328, allocations: 447.4 kB / 0.7494 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.2333, allocations: 330.6 kB / 0.7497 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.2333, allocations: 32 kB / 0.7497 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.234, allocations: 287.4 kB / 0.75 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.2341, allocations: 91.62 kB / 0.7501 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.2343, allocations: 214.9 kB / 0.7503 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009076/0.2352, allocations: 0.6228 MB / 0.7509 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2352, allocations: 4 kB / 0.7509 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.644e-06/0.2352, allocations: 0 / 0.7509 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2352, allocations: 0 / 0.7509 GB, free: 10.06 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.001196/0.2364, allocations: 0.6855 MB / 0.7516 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2365, allocations: 12.03 kB / 0.7516 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.455e-05/0.2365, allocations: 58.73 kB / 0.7516 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.2367, allocations: 48.66 kB / 0.7517 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007558/0.2375, allocations: 416 kB / 0.7521 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.2375, allocations: 20.5 kB / 0.7521 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.408e-05/0.2375, allocations: 24 kB / 0.7521 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/0.2381, allocations: 313.2 kB / 0.7524 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.2381, allocations: 3.953 kB / 0.7524 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2382, allocations: 12 kB / 0.7524 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2382, allocations: 7.984 kB / 0.7524 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.2387, allocations: 201.8 kB / 0.7526 GB, free: 8.195 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.001842/0.2405, allocations: 1.41 MB / 0.754 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.2409, allocations: 154.5 kB / 0.7542 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.2411, allocations: 64.81 kB / 0.7542 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.2412, allocations: 8 kB / 0.7542 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.2415, allocations: 131.2 kB / 0.7544 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2415, allocations: 0 / 0.7544 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0006156/0.2421, allocations: 244.1 kB / 0.7546 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.2422, allocations: 51.41 kB / 0.7546 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.2426, allocations: 349.7 kB / 0.755 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.2426, allocations: 37.69 kB / 0.755 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2428, allocations: 216.1 kB / 0.7552 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.2428, allocations: 55.58 kB / 0.7553 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.2429, allocations: 57.59 kB / 0.7553 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2431, allocations: 346.8 kB / 0.7556 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.2433, allocations: 71.95 kB / 0.7557 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.2435, allocations: 145.4 kB / 0.7559 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.2439, allocations: 245.1 kB / 0.7561 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2439, allocations: 3.938 kB / 0.7561 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000607/0.2445, allocations: 321 kB / 0.7564 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.2446, allocations: 37.64 kB / 0.7564 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2446, allocations: 0 / 0.7564 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.2446, allocations: 4 kB / 0.7564 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2448, allocations: 63.91 kB / 0.7565 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2449, allocations: 7.984 kB / 0.7565 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.2451, allocations: 35.77 kB / 0.7565 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2451, allocations: 8.188 kB / 0.7565 GB, free: 3.898 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.0001868/0.2453, allocations: 159.8 kB / 0.7567 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.2454, allocations: 43.69 kB / 0.7567 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004819/0.2459, allocations: 192.4 kB / 0.7569 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2459, allocations: 4 kB / 0.7569 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2459, allocations: 0 / 0.7569 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005825/0.2465, allocations: 495.6 kB / 0.7574 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/0.247, allocations: 320.5 kB / 0.7577 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.247, allocations: 0 / 0.7577 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2471, allocations: 27.98 kB / 0.7577 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2471, allocations: 3.938 kB / 0.7577 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2471, allocations: 0 / 0.7577 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2471, allocations: 4 kB / 0.7577 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2471, allocations: 3.984 kB / 0.7577 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.2478, allocations: 295.7 kB / 0.758 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.2479, allocations: 47.77 kB / 0.7581 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.2479, allocations: 4 kB / 0.7581 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2481, allocations: 15.97 kB / 0.7581 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2482, allocations: 19.97 kB / 0.7581 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.2482, allocations: 12 kB / 0.7581 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002651/0.2485, allocations: 247.2 kB / 0.7584 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2485, allocations: 0 / 0.7584 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000464/0.249, allocations: 135.6 kB / 0.7585 GB, free: 1.758 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.001236/0.2502, allocations: 0.9047 MB / 0.7594 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.2507, allocations: 223.2 kB / 0.7596 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2508, allocations: 0 / 0.7596 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.2509, allocations: 67.89 kB / 0.7597 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.2519, allocations: 220.6 kB / 0.7599 GB, free: 332 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3177/0.5696, allocations: 3.05 MB / 0.7628 GB, free: 35.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.5698, allocations: 0.7907 MB / 0.7636 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.5701, allocations: 60.66 kB / 0.7637 GB, free: 34.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.5703, allocations: 120.4 kB / 0.7638 GB, free: 34.56 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.5703, allocations: 0 / 0.7638 GB, free: 34.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04175/0.612, allocations: 10.5 MB / 0.774 GB, free: 33.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.77, allocations: 9.859 kB / 0.774 GB, free: 33.69 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.571792956998252] Failed to read output from testmodel.py, exit status != 0: 11.884910622000461 11.903774584 11.664975098 Calling exit ...