Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9685/0.9685, allocations: 175.7 MB / 480.1 MB, free: 2.859 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 68.66 kB / 0.6677 GB, free: 11.05 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1495, allocations: 94.53 MB / 0.7601 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01658/0.1661, allocations: 14.69 MB / 0.7744 GB, free: 2.133 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.1711, allocations: 3.666 MB / 0.778 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.1715, allocations: 19.88 kB / 0.778 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005519/0.1721, allocations: 210.7 kB / 0.7782 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.1733, allocations: 0.6103 MB / 0.7788 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.1742, allocations: 402 kB / 0.7792 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001249/0.1754, allocations: 1.099 MB / 0.7803 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.1758, allocations: 264.5 kB / 0.7805 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009666/0.1768, allocations: 442.4 kB / 0.7809 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.1772, allocations: 326.6 kB / 0.7812 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1773, allocations: 32 kB / 0.7813 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.1778, allocations: 263.5 kB / 0.7815 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1779, allocations: 103.6 kB / 0.7816 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.1781, allocations: 211 kB / 0.7818 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.1789, allocations: 0.6033 MB / 0.7824 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1789, allocations: 0 / 0.7824 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1789, allocations: 0 / 0.7824 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1789, allocations: 0 / 0.7824 GB, free: 9.898 MB / 0.5919 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.001167/0.1801, allocations: 0.7569 MB / 0.7832 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1801, allocations: 15.97 kB / 0.7832 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.007e-05/0.1802, allocations: 62.72 kB / 0.7832 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.1803, allocations: 48.66 kB / 0.7833 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.181, allocations: 467.3 kB / 0.7837 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.1811, allocations: 24.55 kB / 0.7837 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.533e-05/0.1811, allocations: 35.95 kB / 0.7838 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005434/0.1817, allocations: 298.2 kB / 0.7841 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.1817, allocations: 7.984 kB / 0.7841 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1817, allocations: 8 kB / 0.7841 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.1817, allocations: 11.94 kB / 0.7841 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.1822, allocations: 194.1 kB / 0.7843 GB, free: 7.871 MB / 0.5919 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.001761/0.184, allocations: 1.489 MB / 0.7857 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.1844, allocations: 146.6 kB / 0.7859 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.1846, allocations: 56.83 kB / 0.7859 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.1847, allocations: 93.09 kB / 0.786 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002761/0.185, allocations: 128.9 kB / 0.7861 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.185, allocations: 4 kB / 0.7861 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006113/0.1856, allocations: 239.4 kB / 0.7864 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1856, allocations: 55.41 kB / 0.7864 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.186, allocations: 345.7 kB / 0.7867 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.186, allocations: 29.7 kB / 0.7868 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.1862, allocations: 228 kB / 0.787 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/0.1862, allocations: 51.58 kB / 0.787 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/0.1863, allocations: 61.66 kB / 0.7871 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1865, allocations: 342.8 kB / 0.7874 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.1867, allocations: 71.95 kB / 0.7875 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1869, allocations: 149.3 kB / 0.7876 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.1873, allocations: 246.6 kB / 0.7879 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1873, allocations: 0 / 0.7879 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005939/0.1879, allocations: 311 kB / 0.7882 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/0.188, allocations: 41.7 kB / 0.7882 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.188, allocations: 4 kB / 0.7882 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.188, allocations: 4 kB / 0.7882 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1882, allocations: 55.91 kB / 0.7883 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1882, allocations: 7.984 kB / 0.7883 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1885, allocations: 35.77 kB / 0.7883 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1885, allocations: 16 kB / 0.7883 GB, free: 3.406 MB / 0.5919 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.0001593/0.1886, allocations: 157.8 kB / 0.7885 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.1887, allocations: 39.7 kB / 0.7885 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.1892, allocations: 196.4 kB / 0.7887 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1892, allocations: 0 / 0.7887 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1892, allocations: 0 / 0.7887 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000527/0.1897, allocations: 483.8 kB / 0.7892 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1901, allocations: 357.4 kB / 0.7895 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1901, allocations: 0 / 0.7895 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1903, allocations: 35.91 kB / 0.7895 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1903, allocations: 3.938 kB / 0.7895 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.1903, allocations: 4 kB / 0.7895 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.1903, allocations: 4 kB / 0.7896 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1903, allocations: 0 / 0.7896 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.1909, allocations: 284.2 kB / 0.7898 GB, free: 1.703 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.191, allocations: 128.9 kB / 0.7899 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.1911, allocations: 4 kB / 0.7899 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.1913, allocations: 15.98 kB / 0.79 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.213e-05/0.1914, allocations: 19.91 kB / 0.79 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.1914, allocations: 8 kB / 0.79 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002578/0.1916, allocations: 247.2 kB / 0.7902 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1916, allocations: 4 kB / 0.7902 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000387/0.192, allocations: 131.6 kB / 0.7904 GB, free: 1.141 MB / 0.5919 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.001101/0.1931, allocations: 0.9181 MB / 0.7913 GB, free: 196 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.1936, allocations: 223.1 kB / 0.7915 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1936, allocations: 0 / 0.7915 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001881/0.1938, allocations: 71.89 kB / 0.7915 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008773/0.1947, allocations: 214.7 kB / 0.7917 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.1988, allocations: 3.071 MB / 0.7947 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.1992, allocations: 0.7879 MB / 0.7955 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.1994, allocations: 71.22 kB / 0.7956 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.1996, allocations: 123.3 kB / 0.7957 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.1996, allocations: 0 / 0.7957 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.2361, allocations: 10.24 MB / 0.8057 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/7.837, allocations: 11.92 kB / 0.8057 GB, free: 1.41 MB / 0.6075 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.177571109990822]