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.001275/0.001275, allocations: 109 kB / 16.4 MB, free: 6.336 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.001266/0.001266, allocations: 189 kB / 17.33 MB, free: 5.816 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.837/0.837, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 69.08 kB / 0.5735 GB, free: 27.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1338, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01689/0.1507, allocations: 14.45 MB / 0.6646 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005738/0.1565, allocations: 3.643 MB / 0.6682 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004508/0.157, allocations: 23.88 kB / 0.6682 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.1576, allocations: 202.7 kB / 0.6684 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1591, allocations: 0.5869 MB / 0.669 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.1601, allocations: 403.5 kB / 0.6694 GB, free: 276 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1615, allocations: 1.075 MB / 0.6704 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.1619, allocations: 332.8 kB / 0.6707 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.163, allocations: 424.1 kB / 0.6711 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.1634, allocations: 302.7 kB / 0.6714 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.339e-05/0.1635, allocations: 36 kB / 0.6715 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.1641, allocations: 263.5 kB / 0.6717 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1642, allocations: 95.67 kB / 0.6718 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.1645, allocations: 211 kB / 0.672 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008726/0.1654, allocations: 0.6032 MB / 0.6726 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1654, allocations: 0 / 0.6726 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1654, allocations: 0 / 0.6726 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1654, allocations: 0 / 0.6726 GB, free: 12.96 MB / 0.5137 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.001191/0.1666, allocations: 0.7531 MB / 0.6733 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1666, allocations: 12.02 kB / 0.6733 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.147e-05/0.1667, allocations: 66.73 kB / 0.6734 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1669, allocations: 48.66 kB / 0.6734 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.1677, allocations: 471.3 kB / 0.6739 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1677, allocations: 20.56 kB / 0.6739 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.1678, allocations: 24 kB / 0.6739 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.1684, allocations: 314.2 kB / 0.6742 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1684, allocations: 3.953 kB / 0.6742 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.1684, allocations: 12 kB / 0.6743 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1685, allocations: 8 kB / 0.6743 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.169, allocations: 190.1 kB / 0.6744 GB, free: 10.93 MB / 0.5137 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.001882/0.1708, allocations: 1.494 MB / 0.6759 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.1713, allocations: 154.6 kB / 0.676 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.1715, allocations: 72.75 kB / 0.6761 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.1717, allocations: 85.11 kB / 0.6762 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.172, allocations: 137.5 kB / 0.6763 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.854e-06/0.172, allocations: 0 / 0.6763 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006557/0.1727, allocations: 225.4 kB / 0.6765 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1727, allocations: 59.34 kB / 0.6766 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.1731, allocations: 357.6 kB / 0.6769 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.1732, allocations: 33.7 kB / 0.677 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.1733, allocations: 216.1 kB / 0.6772 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.62e-05/0.1734, allocations: 59.52 kB / 0.6772 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.52e-05/0.1735, allocations: 53.66 kB / 0.6773 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.1737, allocations: 342.8 kB / 0.6776 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.1739, allocations: 67.95 kB / 0.6777 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.1742, allocations: 153.3 kB / 0.6778 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.1746, allocations: 244.8 kB / 0.6781 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1746, allocations: 0 / 0.6781 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006396/0.1753, allocations: 306.8 kB / 0.6784 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.1753, allocations: 37.64 kB / 0.6784 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1754, allocations: 8.297 kB / 0.6784 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1754, allocations: 11.98 kB / 0.6784 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.1756, allocations: 55.91 kB / 0.6785 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1756, allocations: 4 kB / 0.6785 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1759, allocations: 31.83 kB / 0.6785 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.1759, allocations: 12 kB / 0.6785 GB, free: 6.449 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.0001727/0.1761, allocations: 161.7 kB / 0.6787 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.1762, allocations: 39.7 kB / 0.6787 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.1767, allocations: 203.5 kB / 0.6789 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1767, allocations: 0 / 0.6789 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1767, allocations: 0 / 0.6789 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005502/0.1773, allocations: 479.8 kB / 0.6794 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.1777, allocations: 349.4 kB / 0.6797 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.1777, allocations: 8 kB / 0.6797 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.1779, allocations: 35.92 kB / 0.6797 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.1779, allocations: 11.88 kB / 0.6797 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1779, allocations: 0 / 0.6797 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.178, allocations: 0 / 0.6797 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.178, allocations: 3.984 kB / 0.6797 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006544/0.1786, allocations: 284.8 kB / 0.68 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1788, allocations: 128.8 kB / 0.6801 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.1788, allocations: 8 kB / 0.6801 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.1791, allocations: 19.91 kB / 0.6802 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/0.1791, allocations: 15.98 kB / 0.6802 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1792, allocations: 7.984 kB / 0.6802 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000274/0.1794, allocations: 247.2 kB / 0.6804 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1795, allocations: 0 / 0.6804 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004386/0.1799, allocations: 127.7 kB / 0.6805 GB, free: 4.184 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.001185/0.1811, allocations: 0.9077 MB / 0.6814 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005283/0.1816, allocations: 233.2 kB / 0.6817 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1816, allocations: 0 / 0.6817 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.1818, allocations: 67.91 kB / 0.6817 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.1828, allocations: 221 kB / 0.6819 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00445/0.1873, allocations: 3.074 MB / 0.6849 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.1878, allocations: 0.7918 MB / 0.6857 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.188, allocations: 55.25 kB / 0.6858 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.1882, allocations: 119.4 kB / 0.6859 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.1882, allocations: 4 kB / 0.6859 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.2236, allocations: 10.2 MB / 0.6958 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.296, allocations: 6.328 kB / 0.6958 GB, free: 4.488 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)