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.001231/0.001231, allocations: 105.5 kB / 16.45 MB, free: 6.449 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.001369/0.001369, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.371/1.371, allocations: 230.6 MB / 252.8 MB, free: 8.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002395/0.002395, allocations: 294.2 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.173/1.173, allocations: 180.9 MB / 0.5333 GB, free: 13.77 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002821/0.002821, allocations: 100.3 kB / 0.7342 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1935, allocations: 95.33 MB / 0.8273 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01719/0.2107, allocations: 14.63 MB / 0.8416 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005637/0.2163, allocations: 3.671 MB / 0.8452 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004826/0.2168, allocations: 23.81 kB / 0.8452 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.2175, allocations: 206.7 kB / 0.8454 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.2189, allocations: 0.6142 MB / 0.846 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.2199, allocations: 403.4 kB / 0.8464 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001357/0.2212, allocations: 1.075 MB / 0.8475 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.2217, allocations: 269.7 kB / 0.8477 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009799/0.2226, allocations: 410.7 kB / 0.8481 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.2231, allocations: 330.6 kB / 0.8484 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.546e-05/0.2231, allocations: 32 kB / 0.8485 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.2237, allocations: 287.4 kB / 0.8487 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.2238, allocations: 91.62 kB / 0.8488 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2241, allocations: 214.9 kB / 0.849 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009268/0.225, allocations: 0.6189 MB / 0.8496 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.225, allocations: 0 / 0.8496 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/0.225, allocations: 0 / 0.8496 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.225, allocations: 0 / 0.8496 GB, free: 2.996 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.001307/0.2263, allocations: 0.757 MB / 0.8504 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2264, allocations: 12.03 kB / 0.8504 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.553e-05/0.2264, allocations: 62.66 kB / 0.8504 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.2267, allocations: 48.7 kB / 0.8505 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000792/0.2275, allocations: 471.9 kB / 0.8509 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.2275, allocations: 28.67 kB / 0.851 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.2276, allocations: 28 kB / 0.851 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.2282, allocations: 306.2 kB / 0.8513 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2282, allocations: 7.938 kB / 0.8513 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.2283, allocations: 4 kB / 0.8513 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.2283, allocations: 15.94 kB / 0.8513 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.2288, allocations: 190.1 kB / 0.8515 GB, free: 0.9609 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.001936/0.2307, allocations: 1.486 MB / 0.8529 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.2312, allocations: 150.6 kB / 0.8531 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2314, allocations: 56.83 kB / 0.8531 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.2315, allocations: 93.09 kB / 0.8532 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.2318, allocations: 139.1 kB / 0.8534 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2318, allocations: 0 / 0.8534 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006686/0.2325, allocations: 239.5 kB / 0.8536 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2326, allocations: 59.41 kB / 0.8536 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.233, allocations: 349.6 kB / 0.854 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.233, allocations: 29.7 kB / 0.854 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.2332, allocations: 216.1 kB / 0.8542 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.2333, allocations: 55.53 kB / 0.8543 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2334, allocations: 57.69 kB / 0.8543 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.2336, allocations: 338.8 kB / 0.8546 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.2338, allocations: 75.95 kB / 0.8547 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.234, allocations: 141.9 kB / 0.8548 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.2345, allocations: 256.9 kB / 0.8551 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2345, allocations: 0 / 0.8551 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006263/0.2351, allocations: 299.2 kB / 0.8554 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.2352, allocations: 45.69 kB / 0.8554 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2352, allocations: 4 kB / 0.8554 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.2352, allocations: 7.938 kB / 0.8554 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.2354, allocations: 51.91 kB / 0.8555 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.2354, allocations: 7.938 kB / 0.8555 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.2357, allocations: 35.77 kB / 0.8555 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.2357, allocations: 16 kB / 0.8555 GB, free: 12.5 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.0001749/0.2359, allocations: 162.4 kB / 0.8557 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.2359, allocations: 35.75 kB / 0.8557 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.2364, allocations: 192.5 kB / 0.8559 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2364, allocations: 3.938 kB / 0.8559 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2365, allocations: 0 / 0.8559 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005902/0.237, allocations: 483.7 kB / 0.8564 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.2375, allocations: 361.3 kB / 0.8567 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2375, allocations: 3.984 kB / 0.8567 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.2377, allocations: 31.97 kB / 0.8568 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.2377, allocations: 4 kB / 0.8568 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.2377, allocations: 4 kB / 0.8568 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2377, allocations: 3.938 kB / 0.8568 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2377, allocations: 0 / 0.8568 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.2384, allocations: 291 kB / 0.857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.2386, allocations: 124.9 kB / 0.8572 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.2386, allocations: 4 kB / 0.8572 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2388, allocations: 23.91 kB / 0.8572 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.2389, allocations: 7.984 kB / 0.8572 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.2389, allocations: 19.92 kB / 0.8572 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002986/0.2392, allocations: 251.2 kB / 0.8575 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.2392, allocations: 0 / 0.8575 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004488/0.2397, allocations: 123.7 kB / 0.8576 GB, free: 10.23 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.001224/0.2409, allocations: 0.9048 MB / 0.8585 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.2414, allocations: 223.9 kB / 0.8587 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2414, allocations: 0 / 0.8587 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.2416, allocations: 71.89 kB / 0.8587 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.2426, allocations: 226.5 kB / 0.859 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/0.2473, allocations: 3.06 MB / 0.8619 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.2477, allocations: 0.7957 MB / 0.8627 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000246/0.248, allocations: 67.19 kB / 0.8628 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.2482, allocations: 119.4 kB / 0.8629 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2482, allocations: 0 / 0.8629 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03705/0.2852, allocations: 10.26 MB / 0.8729 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/8.711, allocations: 10.2 kB / 0.8729 GB, free: 10.53 MB / 0.6231 GB " [Timeout remaining time 651] (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: 12.706664259079844] Failed to read output from testmodel.py, exit status != 0: 8.785357201006263 8.81088811 8.580929249 Calling exit ...