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.001269/0.001269, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001513/0.001513, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.785 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.002482/0.002482, allocations: 286.2 kB / 312.7 MB, free: 2.578 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.175/1.175, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002831/0.002831, allocations: 95.41 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 95.39 MB / 0.8326 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01621/0.1821, allocations: 13.47 MB / 0.8458 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005444/0.1875, allocations: 3.387 MB / 0.8491 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.1879, allocations: 23.81 kB / 0.8491 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005856/0.1885, allocations: 202.7 kB / 0.8493 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.1899, allocations: 0.6181 MB / 0.8499 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000863/0.1907, allocations: 409.8 kB / 0.8503 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001306/0.192, allocations: 1.112 MB / 0.8514 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.1924, allocations: 257.5 kB / 0.8516 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000883/0.1933, allocations: 410.2 kB / 0.852 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.1937, allocations: 314.5 kB / 0.8523 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.899e-05/0.1938, allocations: 32 kB / 0.8524 GB, free: 4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.1942, allocations: 223.5 kB / 0.8526 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.1943, allocations: 91.62 kB / 0.8527 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.1945, allocations: 175.2 kB / 0.8528 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.1954, allocations: 0.6072 MB / 0.8534 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1954, allocations: 4 kB / 0.8534 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.123e-06/0.1954, allocations: 4 kB / 0.8534 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1954, allocations: 0 / 0.8534 GB, free: 2.902 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.001198/0.1966, allocations: 0.6859 MB / 0.8541 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1966, allocations: 13.34 kB / 0.8541 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.425e-05/0.1967, allocations: 62.72 kB / 0.8542 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1969, allocations: 44.7 kB / 0.8542 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007999/0.1977, allocations: 416.6 kB / 0.8546 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1977, allocations: 28.62 kB / 0.8546 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.1977, allocations: 24 kB / 0.8547 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.1984, allocations: 408.1 kB / 0.855 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1984, allocations: 0 / 0.855 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1984, allocations: 12 kB / 0.8551 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.1985, allocations: 11.94 kB / 0.8551 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.1989, allocations: 189.8 kB / 0.8553 GB, free: 0.918 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.001745/0.2007, allocations: 1.146 MB / 0.8564 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/0.2011, allocations: 150.6 kB / 0.8565 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.2013, allocations: 60.81 kB / 0.8566 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.2014, allocations: 12 kB / 0.8566 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003397/0.2017, allocations: 234.1 kB / 0.8568 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.2017, allocations: 0 / 0.8568 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006056/0.2023, allocations: 235.8 kB / 0.857 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.2024, allocations: 55.39 kB / 0.8571 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.2027, allocations: 349.6 kB / 0.8574 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.2028, allocations: 37.7 kB / 0.8575 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.203, allocations: 216.1 kB / 0.8577 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.203, allocations: 67.44 kB / 0.8577 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.392e-05/0.2031, allocations: 57.59 kB / 0.8578 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.2033, allocations: 342.8 kB / 0.8581 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.2035, allocations: 101.6 kB / 0.8582 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.2037, allocations: 172.3 kB / 0.8584 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.2042, allocations: 245.4 kB / 0.8586 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2042, allocations: 0 / 0.8586 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006117/0.2048, allocations: 348.5 kB / 0.8589 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.2048, allocations: 37.7 kB / 0.859 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.2048, allocations: 4 kB / 0.859 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2049, allocations: 7.938 kB / 0.859 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.2051, allocations: 56.2 kB / 0.859 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2051, allocations: 8 kB / 0.859 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.2053, allocations: 31.83 kB / 0.8591 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.2053, allocations: 16 kB / 0.8591 GB, free: 12.71 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.0001643/0.2055, allocations: 158.4 kB / 0.8592 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.2056, allocations: 39.77 kB / 0.8593 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/0.206, allocations: 196.4 kB / 0.8595 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.206, allocations: 7.938 kB / 0.8595 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.206, allocations: 0 / 0.8595 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005228/0.2065, allocations: 487.6 kB / 0.8599 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.2069, allocations: 284.6 kB / 0.8602 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2069, allocations: 0 / 0.8602 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.2071, allocations: 35.92 kB / 0.8602 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2071, allocations: 4 kB / 0.8602 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2071, allocations: 3.984 kB / 0.8603 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.2071, allocations: 3.938 kB / 0.8603 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2071, allocations: 4 kB / 0.8603 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006062/0.2077, allocations: 287.4 kB / 0.8605 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2078, allocations: 47.73 kB / 0.8606 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.2079, allocations: 7.984 kB / 0.8606 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.2081, allocations: 15.92 kB / 0.8606 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.531e-05/0.2082, allocations: 23.91 kB / 0.8606 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2082, allocations: 4 kB / 0.8606 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002682/0.2085, allocations: 251.2 kB / 0.8609 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2085, allocations: 0 / 0.8609 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004277/0.2089, allocations: 135.6 kB / 0.861 GB, free: 10.61 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.001097/0.21, allocations: 0.8971 MB / 0.8619 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.2105, allocations: 251.8 kB / 0.8621 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2105, allocations: 3.938 kB / 0.8621 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.2106, allocations: 71.83 kB / 0.8622 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.2115, allocations: 219.2 kB / 0.8624 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/0.2158, allocations: 3.168 MB / 0.8655 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.2159, allocations: 193.8 kB / 0.8657 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002266/0.2162, allocations: 63.19 kB / 0.8657 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.2163, allocations: 127.4 kB / 0.8659 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2163, allocations: 3.938 kB / 0.8659 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.2585, allocations: 11.57 MB / 0.8772 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.47, allocations: 7.875 kB / 0.8772 GB, free: 10.16 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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.54456872632727] Failed to read output from testmodel.py, exit status != 0: 11.578719577752054 11.596333859 11.397851447 Calling exit ...