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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 100.8 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 189.6 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7479/0.7479, allocations: 122.8 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.89 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3136, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01284/0.3265, allocations: 14.42 MB / 0.5813 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.3308, allocations: 3.643 MB / 0.5849 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003839/0.3312, allocations: 17.72 kB / 0.5849 GB, free: 19.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.3318, allocations: 204.6 kB / 0.5851 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.3329, allocations: 0.5905 MB / 0.5857 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.3336, allocations: 382.8 kB / 0.5861 GB, free: 18.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008997/0.3345, allocations: 1.091 MB / 0.5871 GB, free: 18.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003469/0.3349, allocations: 326.8 kB / 0.5874 GB, free: 18.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007546/0.3356, allocations: 385.2 kB / 0.5878 GB, free: 17.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.336, allocations: 308 kB / 0.5881 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.336, allocations: 31.59 kB / 0.5881 GB, free: 17.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.3365, allocations: 257.8 kB / 0.5884 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.3366, allocations: 100.8 kB / 0.5885 GB, free: 17.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.3368, allocations: 212.1 kB / 0.5887 GB, free: 17.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3374, allocations: 0.5867 MB / 0.5892 GB, free: 17.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3374, allocations: 0.6875 kB / 0.5892 GB, free: 17.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3374, allocations: 1.219 kB / 0.5892 GB, free: 17.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.3374, allocations: 1.281 kB / 0.5892 GB, free: 17.02 MB / 446.1 MB 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.0009611/0.3384, allocations: 0.7424 MB / 0.59 GB, free: 16.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3384, allocations: 12.19 kB / 0.59 GB, free: 16.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.3385, allocations: 62.84 kB / 0.59 GB, free: 16.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.3387, allocations: 46.69 kB / 0.5901 GB, free: 16.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.3392, allocations: 447.8 kB / 0.5905 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3392, allocations: 23.44 kB / 0.5905 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/0.3393, allocations: 30.44 kB / 0.5906 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.3398, allocations: 306.3 kB / 0.5909 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3399, allocations: 2.094 kB / 0.5909 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.3399, allocations: 14.81 kB / 0.5909 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.34, allocations: 11.19 kB / 0.5909 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005932/0.3406, allocations: 192.4 kB / 0.5911 GB, free: 15.55 MB / 446.1 MB 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.001556/0.3421, allocations: 1.493 MB / 0.5925 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.3426, allocations: 155 kB / 0.5927 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3427, allocations: 67.33 kB / 0.5927 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3429, allocations: 87.97 kB / 0.5928 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.3431, allocations: 127.3 kB / 0.5929 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.3431, allocations: 1.5 kB / 0.5929 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005933/0.3437, allocations: 243.2 kB / 0.5932 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.3438, allocations: 54.81 kB / 0.5932 GB, free: 13.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3441, allocations: 347.5 kB / 0.5936 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.3441, allocations: 31.95 kB / 0.5936 GB, free: 13.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3442, allocations: 220.6 kB / 0.5938 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.3443, allocations: 53.88 kB / 0.5939 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.3443, allocations: 53.58 kB / 0.5939 GB, free: 13.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.3444, allocations: 342.1 kB / 0.5942 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3446, allocations: 69.3 kB / 0.5943 GB, free: 12.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3448, allocations: 147.2 kB / 0.5944 GB, free: 12.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.3452, allocations: 247.3 kB / 0.5947 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3452, allocations: 1.938 kB / 0.5947 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005521/0.3458, allocations: 311.6 kB / 0.595 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3458, allocations: 32.98 kB / 0.595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3458, allocations: 2.469 kB / 0.595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3459, allocations: 7.594 kB / 0.595 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.3461, allocations: 61.77 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3461, allocations: 3.625 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3463, allocations: 37.39 kB / 0.5951 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3464, allocations: 12.16 kB / 0.5951 GB, free: 12.15 MB / 446.1 MB 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.0001212/0.3465, allocations: 162.8 kB / 0.5953 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.3466, allocations: 31.97 kB / 0.5953 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.347, allocations: 197.3 kB / 0.5955 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.347, allocations: 9.281 kB / 0.5955 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.347, allocations: 0 / 0.5955 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003747/0.3474, allocations: 480.2 kB / 0.596 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3477, allocations: 354.3 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3477, allocations: 3.984 kB / 0.5963 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.3479, allocations: 32.61 kB / 0.5963 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3479, allocations: 0 / 0.5963 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.3479, allocations: 5.25 kB / 0.5963 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3479, allocations: 5.188 kB / 0.5963 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3479, allocations: 5.375 kB / 0.5964 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.3485, allocations: 280.8 kB / 0.5966 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3486, allocations: 121.8 kB / 0.5967 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.3487, allocations: 6.125 kB / 0.5967 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3489, allocations: 31.5 kB / 0.5968 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.349, allocations: 18.52 kB / 0.5968 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.349, allocations: 9.359 kB / 0.5968 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002054/0.3492, allocations: 246.9 kB / 0.597 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3492, allocations: 0 / 0.597 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.3496, allocations: 127.4 kB / 0.5972 GB, free: 10.5 MB / 446.1 MB 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.0009579/0.3506, allocations: 0.914 MB / 0.598 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.3511, allocations: 231.5 kB / 0.5983 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3511, allocations: 1.594 kB / 0.5983 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.3513, allocations: 72.41 kB / 0.5983 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.3522, allocations: 212.6 kB / 0.5985 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.3559, allocations: 3.08 MB / 0.6015 GB, free: 6.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.3561, allocations: 0.7918 MB / 0.6023 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.3563, allocations: 59.25 kB / 0.6024 GB, free: 6.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3564, allocations: 119.4 kB / 0.6025 GB, free: 5.953 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3564, allocations: 0 / 0.6025 GB, free: 5.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.3823, allocations: 10.13 MB / 0.6124 GB, free: 12.01 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.603, allocations: 9.891 kB / 0.6124 GB, free: 12 MB / 462.1 MB (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)