Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_IDEAS_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.004978/0.004979, allocations: 101 kB / 15.73 MB, free: 6.059 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.001252/0.001252, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7695/0.7695, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 72.02 kB / 0.5808 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1308, allocations: 80.2 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01504/0.1459, allocations: 14.45 MB / 0.6733 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004781/0.1507, allocations: 3.636 MB / 0.6768 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002832/0.151, allocations: 19.88 kB / 0.6769 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.1515, allocations: 206.7 kB / 0.677 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1527, allocations: 0.579 MB / 0.6776 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007867/0.1535, allocations: 398.7 kB / 0.678 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001194/0.1547, allocations: 1.083 MB / 0.6791 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004089/0.1551, allocations: 317.3 kB / 0.6794 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.1559, allocations: 390.5 kB / 0.6797 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/0.1563, allocations: 306.6 kB / 0.68 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.532e-05/0.1564, allocations: 32 kB / 0.6801 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004744/0.1569, allocations: 255.5 kB / 0.6803 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.157, allocations: 99.66 kB / 0.6804 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.1572, allocations: 218.9 kB / 0.6806 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.158, allocations: 0.6033 MB / 0.6812 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.158, allocations: 0 / 0.6812 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.158, allocations: 0 / 0.6812 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.158, allocations: 0 / 0.6812 GB, free: 4.168 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.001099/0.1591, allocations: 0.7569 MB / 0.6819 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1591, allocations: 8.031 kB / 0.6819 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.1592, allocations: 66.73 kB / 0.682 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1594, allocations: 56.64 kB / 0.6821 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.16, allocations: 466.9 kB / 0.6825 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.1601, allocations: 20.56 kB / 0.6825 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.117e-05/0.1601, allocations: 35.94 kB / 0.6826 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005481/0.1607, allocations: 306.2 kB / 0.6828 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1607, allocations: 0 / 0.6828 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1608, allocations: 16 kB / 0.6829 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.1608, allocations: 11.94 kB / 0.6829 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.1612, allocations: 190.1 kB / 0.6831 GB, free: 2.137 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.001721/0.163, allocations: 1.485 MB / 0.6845 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004215/0.1634, allocations: 158.6 kB / 0.6847 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1636, allocations: 68.81 kB / 0.6847 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.1637, allocations: 85.11 kB / 0.6848 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.164, allocations: 125.8 kB / 0.6849 GB, free: 56 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/0.164, allocations: 4 kB / 0.6849 GB, free: 52 kB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006417/0.1647, allocations: 237.3 kB / 0.6851 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1647, allocations: 55.41 kB / 0.6852 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.1651, allocations: 349.7 kB / 0.6855 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1652, allocations: 29.7 kB / 0.6856 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.1653, allocations: 228 kB / 0.6858 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.1654, allocations: 47.59 kB / 0.6858 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-05/0.1655, allocations: 61.64 kB / 0.6859 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1656, allocations: 342.8 kB / 0.6862 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.1658, allocations: 67.95 kB / 0.6863 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.1661, allocations: 157.3 kB / 0.6864 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/0.1665, allocations: 241.4 kB / 0.6867 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1665, allocations: 0 / 0.6867 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006025/0.1672, allocations: 321 kB / 0.687 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.1672, allocations: 39.25 kB / 0.687 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1672, allocations: 0 / 0.687 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1672, allocations: 4 kB / 0.687 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.1675, allocations: 59.91 kB / 0.6871 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1675, allocations: 8.312 kB / 0.6871 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.1677, allocations: 35.77 kB / 0.6871 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1677, allocations: 8 kB / 0.6871 GB, free: 13.67 MB / 0.5294 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.0001628/0.1679, allocations: 158.6 kB / 0.6873 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.168, allocations: 39.7 kB / 0.6873 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/0.1684, allocations: 196.5 kB / 0.6875 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1685, allocations: 4 kB / 0.6875 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1685, allocations: 4 kB / 0.6875 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005176/0.169, allocations: 486.1 kB / 0.688 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1694, allocations: 357.3 kB / 0.6883 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.1694, allocations: 7.938 kB / 0.6883 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1696, allocations: 27.98 kB / 0.6883 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1696, allocations: 3.984 kB / 0.6883 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1696, allocations: 7.984 kB / 0.6883 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1696, allocations: 4 kB / 0.6884 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1696, allocations: 3.938 kB / 0.6884 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.1702, allocations: 280.7 kB / 0.6886 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.1704, allocations: 124.9 kB / 0.6887 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.1704, allocations: 7.984 kB / 0.6887 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.1707, allocations: 23.94 kB / 0.6888 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1707, allocations: 11.98 kB / 0.6888 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1707, allocations: 11.98 kB / 0.6888 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002532/0.171, allocations: 247.2 kB / 0.689 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.171, allocations: 4 kB / 0.689 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000375/0.1714, allocations: 123.7 kB / 0.6892 GB, free: 11.39 MB / 0.5294 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.001091/0.1725, allocations: 0.9175 MB / 0.69 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.173, allocations: 227.7 kB / 0.6903 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.173, allocations: 128 / 0.6903 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.1732, allocations: 75.89 kB / 0.6903 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.1741, allocations: 208.6 kB / 0.6905 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.1781, allocations: 3.083 MB / 0.6935 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1785, allocations: 0.784 MB / 0.6943 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002217/0.1787, allocations: 75.16 kB / 0.6944 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1789, allocations: 115.4 kB / 0.6945 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.1789, allocations: 0 / 0.6945 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/0.4696, allocations: 10.22 MB / 0.7045 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.121/9.591, allocations: 0 / 0.7045 GB, free: 11.71 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)