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.001457/0.001457, allocations: 105.3 kB / 16.4 MB, free: 6.469 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.001614/0.001614, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 64.73 kB / 0.5679 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1214, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01611/0.1375, allocations: 14.41 MB / 0.6581 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004458/0.142, allocations: 3.648 MB / 0.6617 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002925/0.1423, allocations: 19.88 kB / 0.6617 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.1429, allocations: 210.7 kB / 0.6619 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1442, allocations: 0.6102 MB / 0.6625 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008265/0.145, allocations: 398.9 kB / 0.6629 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1462, allocations: 1.098 MB / 0.6639 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.1467, allocations: 320.8 kB / 0.6642 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.1477, allocations: 396.2 kB / 0.6646 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.1482, allocations: 306.6 kB / 0.6649 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.591e-05/0.1483, allocations: 32 kB / 0.6649 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.1489, allocations: 259.5 kB / 0.6652 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.149, allocations: 103.7 kB / 0.6653 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002392/0.1492, allocations: 207 kB / 0.6655 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008099/0.1501, allocations: 0.5993 MB / 0.6661 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1501, allocations: 0 / 0.6661 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1501, allocations: 0 / 0.6661 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.1501, allocations: 0 / 0.6661 GB, free: 2.902 MB / 0.4981 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.001201/0.1513, allocations: 0.7608 MB / 0.6668 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1513, allocations: 16.62 kB / 0.6668 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.1514, allocations: 58.73 kB / 0.6669 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.1516, allocations: 52.64 kB / 0.6669 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.1524, allocations: 463.9 kB / 0.6674 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1524, allocations: 24.69 kB / 0.6674 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.1524, allocations: 28 kB / 0.6674 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/0.153, allocations: 314.2 kB / 0.6677 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.153, allocations: 0 / 0.6677 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.1531, allocations: 12 kB / 0.6677 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.1531, allocations: 8 kB / 0.6678 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.1536, allocations: 194.1 kB / 0.6679 GB, free: 0.8711 MB / 0.4981 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.001702/0.1553, allocations: 1.478 MB / 0.6694 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.1557, allocations: 162.6 kB / 0.6695 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.1559, allocations: 64.81 kB / 0.6696 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.156, allocations: 93.03 kB / 0.6697 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.1563, allocations: 133.5 kB / 0.6698 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1563, allocations: 0 / 0.6698 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006141/0.157, allocations: 237.2 kB / 0.67 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.157, allocations: 55.41 kB / 0.6701 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.1573, allocations: 353.6 kB / 0.6704 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1574, allocations: 29.7 kB / 0.6705 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.1575, allocations: 224.1 kB / 0.6707 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.1576, allocations: 55.53 kB / 0.6707 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.173e-05/0.1577, allocations: 57.64 kB / 0.6708 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1578, allocations: 342.8 kB / 0.6711 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.158, allocations: 63.95 kB / 0.6712 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.1582, allocations: 149.4 kB / 0.6713 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.1587, allocations: 243.4 kB / 0.6715 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1587, allocations: 4 kB / 0.6715 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005856/0.1593, allocations: 305.3 kB / 0.6718 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.1593, allocations: 37.69 kB / 0.6719 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.1593, allocations: 11.94 kB / 0.6719 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1593, allocations: 8.25 kB / 0.6719 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.1596, allocations: 55.97 kB / 0.6719 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1596, allocations: 7.938 kB / 0.672 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.1598, allocations: 31.83 kB / 0.672 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.1599, allocations: 15.98 kB / 0.672 GB, free: 12.39 MB / 0.5137 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.0001463/0.16, allocations: 161.7 kB / 0.6722 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.1601, allocations: 35.77 kB / 0.6722 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.1605, allocations: 196.5 kB / 0.6724 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1605, allocations: 3.938 kB / 0.6724 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1605, allocations: 0 / 0.6724 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004511/0.161, allocations: 489.8 kB / 0.6728 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.1614, allocations: 349.4 kB / 0.6732 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1614, allocations: 4 kB / 0.6732 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.1616, allocations: 27.98 kB / 0.6732 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1616, allocations: 8 kB / 0.6732 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1616, allocations: 7.922 kB / 0.6732 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1616, allocations: 3.938 kB / 0.6732 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1616, allocations: 0 / 0.6732 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005863/0.1622, allocations: 280.7 kB / 0.6735 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1623, allocations: 124.9 kB / 0.6736 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.1624, allocations: 15.94 kB / 0.6736 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.1626, allocations: 19.91 kB / 0.6737 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1627, allocations: 15.98 kB / 0.6737 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1627, allocations: 7.984 kB / 0.6737 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002292/0.163, allocations: 251.2 kB / 0.6739 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.163, allocations: 0 / 0.6739 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003836/0.1634, allocations: 123.7 kB / 0.674 GB, free: 10.13 MB / 0.5137 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.0009824/0.1643, allocations: 0.9071 MB / 0.6749 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1648, allocations: 235.5 kB / 0.6751 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1648, allocations: 0 / 0.6751 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.165, allocations: 71.88 kB / 0.6752 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.166, allocations: 225.3 kB / 0.6754 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.1698, allocations: 3.064 MB / 0.6784 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1702, allocations: 0.7957 MB / 0.6792 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.1704, allocations: 59.27 kB / 0.6793 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1705, allocations: 111.4 kB / 0.6794 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.1705, allocations: 7.938 kB / 0.6794 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.199, allocations: 10.2 MB / 0.6893 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.905, allocations: 5.75 kB / 0.6893 GB, free: 10.44 MB / 0.5294 GB (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)