Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.45/1.45, allocations: 288.4 MB / 303.6 MB, free: 8.043 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008196/0.0008196, allocations: 183 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.123/1.123, allocations: 205.4 MB / 0.631 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006878/0.0006878, allocations: 86.31 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 11.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.009361/0.1531, allocations: 13.2 MB / 0.9931 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1563, allocations: 3.381 MB / 0.9964 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.1566, allocations: 19.88 kB / 0.9964 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.157, allocations: 147.1 kB / 0.9965 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.1579, allocations: 0.4937 MB / 0.997 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005606/0.1584, allocations: 283.2 kB / 0.9973 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.1592, allocations: 1.252 MB / 0.9985 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.1595, allocations: 263.6 kB / 0.9988 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.1598, allocations: 306.7 kB / 0.9991 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.16, allocations: 282.7 kB / 0.9993 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1601, allocations: 15.98 kB / 0.9993 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.1604, allocations: 223.4 kB / 0.9996 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.1604, allocations: 59.75 kB / 0.9996 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.1606, allocations: 204.8 kB / 0.9998 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.1609, allocations: 454.8 kB / 1 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1609, allocations: 7.922 kB / 1 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1609, allocations: 0 / 1 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1609, allocations: 0 / 1 GB, free: 6.625 MB / 0.6198 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.0007428/0.1617, allocations: 0.665 MB / 1.001 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1617, allocations: 16.03 kB / 1.001 GB, free: 5.891 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1618, allocations: 58.73 kB / 1.001 GB, free: 5.824 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1619, allocations: 48.45 kB / 1.001 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.1624, allocations: 471.2 kB / 1.001 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1624, allocations: 24.5 kB / 1.001 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.1625, allocations: 24 kB / 1.002 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1629, allocations: 314.2 kB / 1.002 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1629, allocations: 4 kB / 1.002 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.163, allocations: 4 kB / 1.002 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.163, allocations: 12 kB / 1.002 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.1634, allocations: 202.1 kB / 1.002 GB, free: 4.684 MB / 0.6198 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.001221/0.1646, allocations: 1.485 MB / 1.003 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.165, allocations: 166.6 kB / 1.004 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.1651, allocations: 72.81 kB / 1.004 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.1653, allocations: 93.08 kB / 1.004 GB, free: 2.715 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.1655, allocations: 139.2 kB / 1.004 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1655, allocations: 0 / 1.004 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0004898/0.166, allocations: 245.1 kB / 1.004 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.166, allocations: 59.34 kB / 1.004 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1663, allocations: 329.6 kB / 1.005 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1663, allocations: 29.7 kB / 1.005 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/0.1664, allocations: 215.8 kB / 1.005 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1664, allocations: 47.3 kB / 1.005 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.1664, allocations: 12 kB / 1.005 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.1665, allocations: 338.8 kB / 1.005 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1666, allocations: 75.95 kB / 1.005 GB, free: 1.195 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.1668, allocations: 153.8 kB / 1.005 GB, free: 1.012 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.1671, allocations: 256.7 kB / 1.006 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1672, allocations: 0 / 1.006 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004544/0.1676, allocations: 328.4 kB / 1.006 GB, free: 400 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1677, allocations: 33.7 kB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1677, allocations: 4 kB / 1.006 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.1677, allocations: 11.88 kB / 1.006 GB, free: 344 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1679, allocations: 59.89 kB / 1.006 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1679, allocations: 4 kB / 1.006 GB, free: 280 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1681, allocations: 43.86 kB / 1.006 GB, free: 236 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.1682, allocations: 12 kB / 1.006 GB, free: 224 kB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.1683, allocations: 161.8 kB / 1.006 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.221e-05/0.1683, allocations: 31.62 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.1687, allocations: 214.3 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1688, allocations: 4 kB / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1688, allocations: 0 / 1.006 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004714/0.1692, allocations: 487.8 kB / 1.007 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.1696, allocations: 357.3 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1696, allocations: 4 kB / 1.007 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.1698, allocations: 31.98 kB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1698, allocations: 7.922 kB / 1.007 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1698, allocations: 7.938 kB / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1699, allocations: 0 / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1699, allocations: 0 / 1.007 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.1704, allocations: 293.5 kB / 1.008 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.1705, allocations: 132.7 kB / 1.008 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1706, allocations: 7.938 kB / 1.008 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1708, allocations: 23.97 kB / 1.008 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.1709, allocations: 15.98 kB / 1.008 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1709, allocations: 7.984 kB / 1.008 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00021/0.1711, allocations: 235.2 kB / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1711, allocations: 0 / 1.008 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003525/0.1715, allocations: 123.9 kB / 1.008 GB, free: 13.93 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009856/0.1725, allocations: 0.9211 MB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004278/0.1729, allocations: 231.1 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1729, allocations: 0.625 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1731, allocations: 92.66 kB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.174, allocations: 192.4 kB / 1.01 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1769, allocations: 2.102 MB / 1.012 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1772, allocations: 0.7957 MB / 1.012 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002176/0.1774, allocations: 63.25 kB / 1.012 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.1776, allocations: 115.4 kB / 1.013 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/0.1776, allocations: 3.938 kB / 1.013 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6402/0.8178, allocations: 9.717 MB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.8181, allocations: 192.8 kB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.791, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Storage_Examples_ExpansionVessel.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)