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.00079/0.00079, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.001433/0.001433, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8637/0.8637, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.001394/0.001394, allocations: 222.6 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6759/0.6759, allocations: 138.4 MB / 454.3 MB, free: 1.625 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6463 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.559e-05, allocations: 8.609 kB / 0.6463 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.008137/0.008153, allocations: 13.39 MB / 0.6594 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.01099, allocations: 3.393 MB / 0.6627 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.01125, allocations: 24.03 kB / 0.6627 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.01168, allocations: 196.5 kB / 0.6629 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008249/0.01251, allocations: 0.6469 MB / 0.6635 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.01297, allocations: 410.8 kB / 0.6639 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007683/0.01374, allocations: 1.104 MB / 0.665 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.01401, allocations: 271.9 kB / 0.6652 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006402/0.01465, allocations: 0.5113 MB / 0.6657 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.01486, allocations: 279.1 kB / 0.666 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.01489, allocations: 36 kB / 0.666 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.01514, allocations: 223.3 kB / 0.6663 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.0152, allocations: 103.6 kB / 0.6664 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.959e-05/0.01529, allocations: 143.7 kB / 0.6665 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.01572, allocations: 0.6115 MB / 0.6671 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.01573, allocations: 3.938 kB / 0.6671 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01573, allocations: 4 kB / 0.6671 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.01573, allocations: 3.984 kB / 0.6671 GB, free: 12.17 MB / 0.5105 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.0006568/0.01639, allocations: 0.6764 MB / 0.6678 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.01642, allocations: 12.75 kB / 0.6678 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.01646, allocations: 62.72 kB / 0.6678 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.01657, allocations: 48.64 kB / 0.6679 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004581/0.01703, allocations: 411.9 kB / 0.6683 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.01704, allocations: 20.88 kB / 0.6683 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.458e-05/0.01708, allocations: 28.38 kB / 0.6683 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.01742, allocations: 416.2 kB / 0.6687 GB, free: 10.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01744, allocations: 4 kB / 0.6687 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.01746, allocations: 12 kB / 0.6687 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.01747, allocations: 11.94 kB / 0.6687 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.01771, allocations: 197.7 kB / 0.6689 GB, free: 10.18 MB / 0.5105 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.0008849/0.0186, allocations: 1.135 MB / 0.67 GB, free: 8.977 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.01884, allocations: 146.6 kB / 0.6702 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.01892, allocations: 60.81 kB / 0.6702 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.702e-05/0.019, allocations: 16 kB / 0.6702 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.01917, allocations: 234.6 kB / 0.6705 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.01917, allocations: 0 / 0.6705 GB, free: 8.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003265/0.0195, allocations: 231.2 kB / 0.6707 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.01952, allocations: 51.41 kB / 0.6707 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.0197, allocations: 361.5 kB / 0.6711 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.01971, allocations: 29.69 kB / 0.6711 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.01979, allocations: 220.1 kB / 0.6713 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.01981, allocations: 59.47 kB / 0.6714 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.01986, allocations: 61.64 kB / 0.6714 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.672e-05/0.0199, allocations: 338.8 kB / 0.6718 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.02, allocations: 97.64 kB / 0.6719 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.02012, allocations: 179.1 kB / 0.672 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.02031, allocations: 235 kB / 0.6723 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.02032, allocations: 0 / 0.6723 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002915/0.02061, allocations: 350.6 kB / 0.6726 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.02063, allocations: 33.7 kB / 0.6726 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.02064, allocations: 4 kB / 0.6726 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.02065, allocations: 4 kB / 0.6726 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.02077, allocations: 55.89 kB / 0.6727 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.02078, allocations: 4.312 kB / 0.6727 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.02089, allocations: 43.7 kB / 0.6727 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.02091, allocations: 16 kB / 0.6727 GB, free: 5.996 MB / 0.5105 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 9.153e-05/0.021, allocations: 158.4 kB / 0.6729 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.02103, allocations: 39.7 kB / 0.6729 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.02126, allocations: 196.4 kB / 0.6731 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.02126, allocations: 3.938 kB / 0.6731 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.02126, allocations: 4 kB / 0.6731 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001789/0.02144, allocations: 485.4 kB / 0.6736 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.02164, allocations: 292.5 kB / 0.6739 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02164, allocations: 4 kB / 0.6739 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.02172, allocations: 27.92 kB / 0.6739 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.02172, allocations: 4 kB / 0.6739 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.02173, allocations: 3.984 kB / 0.6739 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.02173, allocations: 4 kB / 0.6739 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.02173, allocations: 4 kB / 0.6739 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.02202, allocations: 286.2 kB / 0.6742 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.579e-05/0.02209, allocations: 47.83 kB / 0.6742 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.02211, allocations: 7.984 kB / 0.6742 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.987e-05/0.02221, allocations: 11.98 kB / 0.6742 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.02226, allocations: 19.97 kB / 0.6743 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.02227, allocations: 7.938 kB / 0.6743 GB, free: 4.262 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001234/0.02239, allocations: 255.1 kB / 0.6745 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.02239, allocations: 4 kB / 0.6745 GB, free: 4.012 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002413/0.02263, allocations: 131.6 kB / 0.6746 GB, free: 3.883 MB / 0.5105 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.0005021/0.02314, allocations: 0.9129 MB / 0.6755 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.02338, allocations: 252 kB / 0.6758 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02338, allocations: 4 kB / 0.6758 GB, free: 2.676 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.02346, allocations: 63.94 kB / 0.6758 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.02394, allocations: 217.6 kB / 0.6761 GB, free: 2.414 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.02609, allocations: 3.099 MB / 0.6791 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.0262, allocations: 185.8 kB / 0.6793 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.02634, allocations: 67.19 kB / 0.6793 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.02646, allocations: 124.4 kB / 0.6794 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of SimCode: time 5.61e-07/0.02646, allocations: 0 / 0.6794 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.04829, allocations: 11.68 MB / 0.6908 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.794, allocations: 12.42 kB / 0.6909 GB, free: 3.387 MB / 0.5261 GB " [Timeout remaining time 653] (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: 9.579200407490134] Failed to read output from testmodel.py, exit status != 0: 6.8792736399918795 6.889620402 6.871205563 Calling exit ...