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.0009955/0.0009955, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008288/0.0008288, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8683/0.8683, 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/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.5519/0.5519, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.063e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01071/0.01073, allocations: 13.41 MB / 0.5673 GB, free: 4.215 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004076/0.01481, allocations: 3.389 MB / 0.5706 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004628/0.01527, allocations: 27.75 kB / 0.5706 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005669/0.01584, allocations: 202.6 kB / 0.5708 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.01716, allocations: 0.6448 MB / 0.5714 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008545/0.01802, allocations: 413.2 kB / 0.5718 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.01932, allocations: 1.109 MB / 0.5729 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004262/0.01974, allocations: 264.9 kB / 0.5731 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.02091, allocations: 0.5584 MB / 0.5737 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004219/0.02133, allocations: 271.1 kB / 0.574 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.02139, allocations: 39.94 kB / 0.574 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.02188, allocations: 223.4 kB / 0.5742 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.02199, allocations: 103.5 kB / 0.5743 GB, free: 13 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.02213, allocations: 143.7 kB / 0.5744 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007967/0.02292, allocations: 0.6115 MB / 0.575 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02293, allocations: 4 kB / 0.575 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.02293, allocations: 0 / 0.575 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.325e-06/0.02294, allocations: 0 / 0.575 GB, free: 12.24 MB / 0.4948 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.0009814/0.02392, allocations: 0.6901 MB / 0.5757 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.02397, allocations: 8.031 kB / 0.5757 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.709e-05/0.02403, allocations: 62.72 kB / 0.5758 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.02418, allocations: 48.66 kB / 0.5758 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.02479, allocations: 411.9 kB / 0.5762 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.02481, allocations: 24.44 kB / 0.5762 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.02485, allocations: 28 kB / 0.5763 GB, free: 10.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.02535, allocations: 408.1 kB / 0.5767 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.02536, allocations: 3.938 kB / 0.5767 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.623e-05/0.02539, allocations: 12 kB / 0.5767 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.02541, allocations: 8 kB / 0.5767 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.02572, allocations: 197.8 kB / 0.5769 GB, free: 10.25 MB / 0.4948 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.001397/0.02712, allocations: 1.143 MB / 0.578 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.02747, allocations: 154.5 kB / 0.5781 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.02756, allocations: 64.81 kB / 0.5782 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.02767, allocations: 8 kB / 0.5782 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.02789, allocations: 230.1 kB / 0.5784 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.0279, allocations: 0 / 0.5784 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004096/0.02831, allocations: 233.3 kB / 0.5786 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.02835, allocations: 63.33 kB / 0.5787 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.02861, allocations: 349.6 kB / 0.579 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.02863, allocations: 33.7 kB / 0.5791 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.02875, allocations: 220.1 kB / 0.5793 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.02879, allocations: 51.59 kB / 0.5793 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.02885, allocations: 57.64 kB / 0.5794 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.02894, allocations: 338.8 kB / 0.5797 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.02907, allocations: 101.7 kB / 0.5798 GB, free: 7.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.02922, allocations: 179.1 kB / 0.58 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.02948, allocations: 248.3 kB / 0.5802 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02949, allocations: 0 / 0.5802 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003661/0.02985, allocations: 342.2 kB / 0.5805 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.02988, allocations: 33.7 kB / 0.5806 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.02989, allocations: 4 kB / 0.5806 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.02991, allocations: 7.938 kB / 0.5806 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.03004, allocations: 55.91 kB / 0.5806 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.03005, allocations: 11.92 kB / 0.5806 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.03019, allocations: 35.77 kB / 0.5807 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.03021, allocations: 12 kB / 0.5807 GB, free: 6.059 MB / 0.4948 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.0001311/0.03034, allocations: 157.8 kB / 0.5808 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.03038, allocations: 39.75 kB / 0.5809 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.03067, allocations: 199.9 kB / 0.5811 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.03068, allocations: 7.938 kB / 0.5811 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.03068, allocations: 0 / 0.5811 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000281/0.03096, allocations: 483.7 kB / 0.5815 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.03125, allocations: 288.5 kB / 0.5818 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.03125, allocations: 4 kB / 0.5818 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.826e-05/0.03134, allocations: 35.92 kB / 0.5819 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.03134, allocations: 0 / 0.5819 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.03135, allocations: 0 / 0.5819 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.03136, allocations: 15.91 kB / 0.5819 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.03136, allocations: 0 / 0.5819 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.03172, allocations: 284.6 kB / 0.5821 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.0318, allocations: 47.77 kB / 0.5822 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.03183, allocations: 8 kB / 0.5822 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.03195, allocations: 23.91 kB / 0.5822 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.032, allocations: 15.97 kB / 0.5822 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.03202, allocations: 4.094 kB / 0.5822 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001826/0.0322, allocations: 247.2 kB / 0.5825 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.0322, allocations: 0 / 0.5825 GB, free: 4.078 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003316/0.03253, allocations: 135.6 kB / 0.5826 GB, free: 3.945 MB / 0.4948 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.0007368/0.03327, allocations: 0.9125 MB / 0.5835 GB, free: 3.008 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.03359, allocations: 248.9 kB / 0.5837 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03359, allocations: 0 / 0.5837 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.03372, allocations: 63.89 kB / 0.5838 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006156/0.03434, allocations: 211.7 kB / 0.584 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.03734, allocations: 3.106 MB / 0.587 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.03747, allocations: 193.8 kB / 0.5872 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002439/0.03771, allocations: 63.17 kB / 0.5873 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.03784, allocations: 124.5 kB / 0.5874 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.492e-06/0.03784, allocations: 0 / 0.5874 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.06675, allocations: 11.67 MB / 0.5988 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.148, allocations: 7.922 kB / 0.5988 GB, free: 3.484 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.672934604808688] Failed to read output from testmodel.py, exit status != 0: 7.236679059453309 7.247711433 7.222527599 Calling exit ...