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.001248/0.001248, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001215/0.001215, allocations: 216.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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.9097/0.9097, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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.919/1.919, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 178] 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 0.001125/0.001125, allocations: 67.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6803, allocations: 180 MB / 1.352 GB, free: 1.727 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01136/0.6917, allocations: 13.51 MB / 1.366 GB, free: 4.16 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.6955, allocations: 3.409 MB / 1.369 GB, free: 0.7422 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003874/0.6959, allocations: 23.81 kB / 1.369 GB, free: 0.7188 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.6965, allocations: 194.7 kB / 1.369 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.6976, allocations: 0.6307 MB / 1.37 GB, free: 15.89 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.6982, allocations: 402.3 kB / 1.37 GB, free: 15.5 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.0009815/0.6992, allocations: 1.116 MB / 1.371 GB, free: 14.39 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.6999, allocations: 253 kB / 1.371 GB, free: 14.14 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/0.7008, allocations: 448.9 kB / 1.372 GB, free: 13.7 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.7012, allocations: 314.5 kB / 1.372 GB, free: 13.39 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.7012, allocations: 32 kB / 1.372 GB, free: 13.36 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.7016, allocations: 215.6 kB / 1.372 GB, free: 13.15 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 8.52e-05/0.7017, allocations: 99.55 kB / 1.373 GB, free: 13.05 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.7018, allocations: 175.2 kB / 1.373 GB, free: 12.88 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.7024, allocations: 0.6111 MB / 1.373 GB, free: 12.27 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.7024, allocations: 0 / 1.373 GB, free: 12.27 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7024, allocations: 0 / 1.373 GB, free: 12.27 MB / 1.057 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.7024, allocations: 0 / 1.373 GB, free: 12.27 MB / 1.057 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.0008628/0.7033, allocations: 0.6854 MB / 1.374 GB, free: 11.54 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.7033, allocations: 16.92 kB / 1.374 GB, free: 11.53 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.557e-05/0.7034, allocations: 58.72 kB / 1.374 GB, free: 11.46 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.7035, allocations: 52.66 kB / 1.374 GB, free: 11.41 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.7041, allocations: 412.7 kB / 1.374 GB, free: 10.98 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.7041, allocations: 24.62 kB / 1.375 GB, free: 10.96 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.7042, allocations: 27.94 kB / 1.375 GB, free: 10.93 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.7046, allocations: 408.1 kB / 1.375 GB, free: 10.49 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.7046, allocations: 4 kB / 1.375 GB, free: 10.48 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.7046, allocations: 8 kB / 1.375 GB, free: 10.48 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.7046, allocations: 8 kB / 1.375 GB, free: 10.47 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.7049, allocations: 193.8 kB / 1.375 GB, free: 10.28 MB / 1.057 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.001121/0.706, allocations: 1.143 MB / 1.376 GB, free: 9.07 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.7064, allocations: 154.6 kB / 1.376 GB, free: 8.91 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.7064, allocations: 60.81 kB / 1.376 GB, free: 8.848 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.7065, allocations: 8 kB / 1.376 GB, free: 8.84 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.7068, allocations: 238 kB / 1.377 GB, free: 8.57 MB / 1.057 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.7068, allocations: 0 / 1.377 GB, free: 8.57 MB / 1.057 GB Notification: Performance of matching and sorting (n=15): time 0.0004148/0.7072, allocations: 239.5 kB / 1.377 GB, free: 8.332 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.7072, allocations: 59.41 kB / 1.377 GB, free: 8.262 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.7075, allocations: 357.5 kB / 1.377 GB, free: 7.906 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.7075, allocations: 29.7 kB / 1.377 GB, free: 7.871 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.7076, allocations: 220.1 kB / 1.378 GB, free: 7.652 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.7077, allocations: 55.52 kB / 1.378 GB, free: 7.598 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.7077, allocations: 53.66 kB / 1.378 GB, free: 7.539 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.7078, allocations: 346.8 kB / 1.378 GB, free: 7.191 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.708, allocations: 105.6 kB / 1.378 GB, free: 7.082 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.7081, allocations: 172.8 kB / 1.378 GB, free: 6.875 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.7084, allocations: 248.5 kB / 1.378 GB, free: 6.594 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7084, allocations: 4 kB / 1.379 GB, free: 6.59 MB / 1.057 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000375/0.7088, allocations: 338.2 kB / 1.379 GB, free: 6.242 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.7088, allocations: 42 kB / 1.379 GB, free: 6.195 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7088, allocations: 7.984 kB / 1.379 GB, free: 6.188 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7088, allocations: 7.938 kB / 1.379 GB, free: 6.18 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.709, allocations: 55.91 kB / 1.379 GB, free: 6.125 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.709, allocations: 0 / 1.379 GB, free: 6.125 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.7091, allocations: 39.77 kB / 1.379 GB, free: 6.086 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.7092, allocations: 12 kB / 1.379 GB, free: 6.074 MB / 1.057 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.0001209/0.7093, allocations: 157.1 kB / 1.379 GB, free: 5.914 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.7093, allocations: 43.77 kB / 1.379 GB, free: 5.871 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.7096, allocations: 196.4 kB / 1.379 GB, free: 5.672 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.7096, allocations: 3.938 kB / 1.379 GB, free: 5.668 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7096, allocations: 4 kB / 1.379 GB, free: 5.664 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003636/0.71, allocations: 482.3 kB / 1.38 GB, free: 5.109 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.7103, allocations: 288.5 kB / 1.38 GB, free: 4.785 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7103, allocations: 0 / 1.38 GB, free: 4.785 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.7104, allocations: 43.91 kB / 1.38 GB, free: 4.742 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7104, allocations: 0 / 1.38 GB, free: 4.742 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7104, allocations: 0 / 1.38 GB, free: 4.742 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.7104, allocations: 7.938 kB / 1.38 GB, free: 4.734 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7104, allocations: 3.938 kB / 1.38 GB, free: 4.73 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.7107, allocations: 284.7 kB / 1.38 GB, free: 4.434 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.7108, allocations: 43.83 kB / 1.38 GB, free: 4.391 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.7109, allocations: 7.938 kB / 1.38 GB, free: 4.383 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.711, allocations: 23.92 kB / 1.38 GB, free: 4.359 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.711, allocations: 15.97 kB / 1.381 GB, free: 4.344 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.711, allocations: 7.984 kB / 1.381 GB, free: 4.336 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001792/0.7112, allocations: 247.2 kB / 1.381 GB, free: 4.098 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/0.7112, allocations: 0 / 1.381 GB, free: 4.098 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003258/0.7115, allocations: 135.6 kB / 1.381 GB, free: 3.965 MB / 1.057 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.000828/0.7124, allocations: 0.8972 MB / 1.382 GB, free: 3.035 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003131/0.7127, allocations: 255 kB / 1.382 GB, free: 2.77 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7127, allocations: 0 / 1.382 GB, free: 2.77 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 9.652e-05/0.7128, allocations: 67.95 kB / 1.382 GB, free: 2.703 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.7133, allocations: 221.7 kB / 1.382 GB, free: 2.496 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.7164, allocations: 3.164 MB / 1.385 GB, free: 15.16 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.7165, allocations: 189.8 kB / 1.386 GB, free: 14.95 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.000201/0.7167, allocations: 67.23 kB / 1.386 GB, free: 14.89 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7168, allocations: 115.4 kB / 1.386 GB, free: 14.78 MB / 1.073 GB Notification: Performance of SimCode: time 7.51e-07/0.7168, allocations: 0 / 1.386 GB, free: 14.78 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08893/0.8058, allocations: 11.57 MB / 1.397 GB, free: 3.531 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.458, allocations: 12.69 kB / 1.397 GB, free: 3.523 MB / 1.073 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.135317291133106]