Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001192/0.001192, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001387/0.001387, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9383/0.9383, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.912/1.912, allocations: 389.5 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_13_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.995e-05, allocations: 2.281 kB / 1.001 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.0109/0.01092, allocations: 13.43 MB / 1.014 GB, free: 72 kB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005395/0.01631, allocations: 3.401 MB / 1.017 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006347/0.01695, allocations: 23.81 kB / 1.017 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007887/0.01774, allocations: 206.6 kB / 1.017 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.01939, allocations: 0.6409 MB / 1.018 GB, free: 11.79 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009683/0.02036, allocations: 416.2 kB / 1.018 GB, free: 11.39 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.02171, allocations: 1.11 MB / 1.019 GB, free: 10.27 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/0.02214, allocations: 256.9 kB / 1.02 GB, free: 10.02 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.02338, allocations: 0.5609 MB / 1.02 GB, free: 9.453 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.02381, allocations: 275.1 kB / 1.02 GB, free: 9.184 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.02387, allocations: 43.98 kB / 1.02 GB, free: 9.141 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.02434, allocations: 219.4 kB / 1.021 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.02447, allocations: 99.59 kB / 1.021 GB, free: 8.828 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.02466, allocations: 147.6 kB / 1.021 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.02551, allocations: 0.6115 MB / 1.022 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.02552, allocations: 0 / 1.022 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.393e-06/0.02552, allocations: 0 / 1.022 GB, free: 8.07 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.02553, allocations: 0 / 1.022 GB, free: 8.07 MB / 0.9792 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.001118/0.02665, allocations: 0.6854 MB / 1.022 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.0267, allocations: 13.34 kB / 1.022 GB, free: 7.336 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.236e-05/0.02677, allocations: 62.66 kB / 1.022 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.02696, allocations: 44.7 kB / 1.022 GB, free: 7.223 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.02767, allocations: 412 kB / 1.023 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.0277, allocations: 24.88 kB / 1.023 GB, free: 6.766 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.118e-05/0.02775, allocations: 24.38 kB / 1.023 GB, free: 6.742 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.02836, allocations: 416.2 kB / 1.023 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.02838, allocations: 4 kB / 1.023 GB, free: 6.289 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.02841, allocations: 8 kB / 1.023 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.02844, allocations: 12 kB / 1.023 GB, free: 6.27 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.0289, allocations: 189.8 kB / 1.023 GB, free: 6.086 MB / 0.9792 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.001708/0.03061, allocations: 1.146 MB / 1.024 GB, free: 4.875 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.03102, allocations: 154.6 kB / 1.025 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.03117, allocations: 60.81 kB / 1.025 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.03128, allocations: 12 kB / 1.025 GB, free: 4.641 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.03158, allocations: 230.1 kB / 1.025 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 2.044e-06/0.03159, allocations: 3.938 kB / 1.025 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0006571/0.03224, allocations: 235.5 kB / 1.025 GB, free: 4.141 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.03228, allocations: 59.39 kB / 1.025 GB, free: 4.07 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.03264, allocations: 357.5 kB / 1.026 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.03267, allocations: 25.7 kB / 1.026 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.03283, allocations: 216.1 kB / 1.026 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.03288, allocations: 59.52 kB / 1.026 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.245e-05/0.03297, allocations: 61.64 kB / 1.026 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.03309, allocations: 338.8 kB / 1.026 GB, free: 3.008 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.0333, allocations: 97.66 kB / 1.026 GB, free: 2.906 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.03353, allocations: 191 kB / 1.026 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.03406, allocations: 241 kB / 1.027 GB, free: 2.406 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.03407, allocations: 4 kB / 1.027 GB, free: 2.402 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000574/0.03464, allocations: 336.8 kB / 1.027 GB, free: 2.055 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.03468, allocations: 40.27 kB / 1.027 GB, free: 2.012 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.03469, allocations: 4 kB / 1.027 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.0347, allocations: 4 kB / 1.027 GB, free: 2.004 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.03489, allocations: 51.91 kB / 1.027 GB, free: 1.953 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.0349, allocations: 11.92 kB / 1.027 GB, free: 1.941 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.0351, allocations: 43.7 kB / 1.027 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.03512, allocations: 12 kB / 1.027 GB, free: 1.887 MB / 0.9792 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.0001543/0.03528, allocations: 156.4 kB / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.03533, allocations: 43.75 kB / 1.027 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.03569, allocations: 192.4 kB / 1.028 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.03569, allocations: 0 / 1.028 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.0357, allocations: 0 / 1.028 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003995/0.0361, allocations: 490.7 kB / 1.028 GB, free: 0.9219 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.0364, allocations: 296.5 kB / 1.028 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0364, allocations: 0 / 1.028 GB, free: 0.5898 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.03649, allocations: 31.98 kB / 1.028 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.03649, allocations: 0 / 1.028 GB, free: 0.5586 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.0365, allocations: 4 kB / 1.028 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0365, allocations: 0 / 1.028 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.03651, allocations: 3.984 kB / 1.028 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.03686, allocations: 292.6 kB / 1.029 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.03693, allocations: 47.77 kB / 1.029 GB, free: 204 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.03696, allocations: 8 kB / 1.029 GB, free: 196 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.03707, allocations: 15.97 kB / 1.029 GB, free: 180 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.03712, allocations: 19.97 kB / 1.029 GB, free: 160 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.03714, allocations: 7.938 kB / 1.029 GB, free: 152 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001884/0.03733, allocations: 251.2 kB / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.03733, allocations: 0 / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002806/0.03761, allocations: 131.6 kB / 1.029 GB, free: 15.77 MB / 0.9948 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.0007781/0.03839, allocations: 0.9011 MB / 1.03 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006403/0.03903, allocations: 255.2 kB / 1.03 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.03903, allocations: 0 / 1.03 GB, free: 14.58 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.03913, allocations: 67.27 kB / 1.03 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.03968, allocations: 221.2 kB / 1.031 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.04263, allocations: 3.095 MB / 1.034 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.04275, allocations: 181.8 kB / 1.034 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.04293, allocations: 63.25 kB / 1.034 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.04305, allocations: 120.5 kB / 1.034 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of SimCode: time 9.01e-07/0.04305, allocations: 4 kB / 1.034 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5525/0.5955, allocations: 11.66 MB / 1.045 GB, free: 84.12 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/8.98, allocations: 6.156 kB / 1.045 GB, free: 84.12 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 ../Buildings_13_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu) > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.835893338546157]