Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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-master/package.mo", uses=false) 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: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.0009121/0.0009122, allocations: 171.1 kB / 16.26 MB, free: 6.664 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9174/0.9174, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 12.75 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1752, allocations: 82.3 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005218/0.1805, allocations: 4.198 MB / 0.5921 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1816, allocations: 0.8226 MB / 0.5929 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.1817, allocations: 0 / 0.5929 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1819, allocations: 23.89 kB / 0.5929 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.182, allocations: 27.72 kB / 0.5929 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.1824, allocations: 143.5 kB / 0.5931 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1826, allocations: 179.3 kB / 0.5932 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.1827, allocations: 13.12 kB / 0.5932 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1829, allocations: 67.75 kB / 0.5933 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.183, allocations: 71.73 kB / 0.5934 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.183, allocations: 8 kB / 0.5934 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003087/0.1834, allocations: 147.7 kB / 0.5935 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.125e-05/0.1834, allocations: 31.84 kB / 0.5936 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.1835, allocations: 85.41 kB / 0.5936 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1838, allocations: 231.6 kB / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1838, allocations: 0 / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1838, allocations: 0 / 0.5939 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1839, allocations: 0 / 0.5939 GB, free: 12.56 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008397/0.1847, allocations: 463 kB / 0.5943 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1848, allocations: 12.03 kB / 0.5943 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.1848, allocations: 12.75 kB / 0.5943 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.185, allocations: 184.2 kB / 0.5945 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.185, allocations: 4.375 kB / 0.5945 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.185, allocations: 15.94 kB / 0.5945 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.1854, allocations: 139.6 kB / 0.5947 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1854, allocations: 0 / 0.5947 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1854, allocations: 4 kB / 0.5947 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1854, allocations: 7.938 kB / 0.5947 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.1859, allocations: 167.8 kB / 0.5948 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.1869, allocations: 480.4 kB / 0.5953 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1872, allocations: 130.5 kB / 0.5954 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.1874, allocations: 84.81 kB / 0.5955 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/0.1888, allocations: 0.9606 MB / 0.5964 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1889, allocations: 38.44 kB / 0.5965 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.1889, allocations: 0 / 0.5965 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007581/0.1896, allocations: 253.2 kB / 0.5967 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1897, allocations: 51.41 kB / 0.5968 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.1898, allocations: 162.6 kB / 0.5969 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1899, allocations: 33.7 kB / 0.5969 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.19, allocations: 104.4 kB / 0.597 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.19, allocations: 43.34 kB / 0.5971 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1901, allocations: 29.7 kB / 0.5971 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1902, allocations: 330.8 kB / 0.5974 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1904, allocations: 79.94 kB / 0.5975 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.1907, allocations: 127.3 kB / 0.5976 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.1912, allocations: 183.4 kB / 0.5978 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1912, allocations: 0 / 0.5978 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006196/0.1918, allocations: 272.3 kB / 0.5981 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1918, allocations: 7.938 kB / 0.5981 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1919, allocations: 0 / 0.5981 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1919, allocations: 4 kB / 0.5981 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.1922, allocations: 63.89 kB / 0.5981 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1922, allocations: 4 kB / 0.5981 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.1924, allocations: 43.77 kB / 0.5982 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1924, allocations: 4 kB / 0.5982 GB, free: 7.754 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.000105/0.1925, allocations: 121.8 kB / 0.5983 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1925, allocations: 15.78 kB / 0.5983 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.1931, allocations: 202.8 kB / 0.5985 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1931, allocations: 4 kB / 0.5985 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1931, allocations: 0 / 0.5985 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1931, allocations: 7.984 kB / 0.5985 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.1934, allocations: 213.5 kB / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1934, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1936, allocations: 31.98 kB / 0.5987 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1936, allocations: 3.938 kB / 0.5988 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1936, allocations: 3.984 kB / 0.5988 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1936, allocations: 7.938 kB / 0.5988 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1936, allocations: 0 / 0.5988 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.1941, allocations: 286.9 kB / 0.599 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.1942, allocations: 96.94 kB / 0.5991 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.1942, allocations: 0 / 0.5991 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1944, allocations: 19.98 kB / 0.5992 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1944, allocations: 11.92 kB / 0.5992 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.1944, allocations: 11.98 kB / 0.5992 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.798e-05/0.1945, allocations: 120.7 kB / 0.5993 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1945, allocations: 0 / 0.5993 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003483/0.1949, allocations: 60.31 kB / 0.5993 GB, free: 6.465 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002667/0.1952, allocations: 155.1 kB / 0.5995 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000537/0.1957, allocations: 196 kB / 0.5997 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1957, allocations: 0 / 0.5997 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1959, allocations: 75.89 kB / 0.5998 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1963, allocations: 23.98 kB / 0.5998 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.1968, allocations: 301.9 kB / 0.6001 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1971, allocations: 0.7009 MB / 0.6007 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.96e-05/0.1972, allocations: 21.06 kB / 0.6008 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.1972, allocations: 19.42 kB / 0.6008 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1972, allocations: 0 / 0.6008 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.005732/0.203, allocations: 2.522 MB / 0.6032 GB, free: 2.441 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)