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.001173/0.001173, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001489/0.001489, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.02/1.02, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 72.06 kB / 0.5049 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1724, allocations: 80.93 MB / 0.5839 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00875/0.1812, allocations: 4.566 MB / 0.5884 GB, free: 304 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.1826, allocations: 0.8186 MB / 0.5891 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1828, allocations: 4 kB / 0.5892 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.183, allocations: 19.84 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1832, allocations: 27.77 kB / 0.5892 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.1839, allocations: 155.5 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.1843, allocations: 183.4 kB / 0.5895 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1844, allocations: 17.09 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.1847, allocations: 83.7 kB / 0.5896 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1848, allocations: 75.73 kB / 0.5897 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.1849, allocations: 12 kB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004456/0.1853, allocations: 159.8 kB / 0.5899 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.1854, allocations: 27.91 kB / 0.5899 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.37e-05/0.1855, allocations: 67.66 kB / 0.5899 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004692/0.186, allocations: 247.5 kB / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.186, allocations: 0 / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.924e-06/0.186, allocations: 0 / 0.5902 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.186, allocations: 0 / 0.5902 GB, free: 14.41 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.001249/0.1873, allocations: 490.9 kB / 0.5906 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1873, allocations: 8.031 kB / 0.5907 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.1874, allocations: 16.75 kB / 0.5907 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.1876, allocations: 179.3 kB / 0.5908 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1877, allocations: 8.375 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.1877, allocations: 15.94 kB / 0.5909 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.1882, allocations: 124.2 kB / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1882, allocations: 0 / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.1882, allocations: 0 / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1882, allocations: 4 kB / 0.591 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005564/0.1888, allocations: 139.9 kB / 0.5911 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1901, allocations: 472.3 kB / 0.5916 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.1905, allocations: 130.5 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1908, allocations: 72.75 kB / 0.5918 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001947/0.1927, allocations: 0.9646 MB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1928, allocations: 34.5 kB / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.1928, allocations: 4 kB / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008906/0.1937, allocations: 203.5 kB / 0.5929 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1937, allocations: 63.33 kB / 0.593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1939, allocations: 166.5 kB / 0.5932 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.194, allocations: 25.7 kB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.1941, allocations: 112.4 kB / 0.5933 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.1941, allocations: 39.45 kB / 0.5933 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.1942, allocations: 45.7 kB / 0.5934 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1944, allocations: 322.8 kB / 0.5937 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1947, allocations: 75.94 kB / 0.5938 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.1951, allocations: 107.4 kB / 0.5939 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.1957, allocations: 175.3 kB / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1957, allocations: 0 / 0.594 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007983/0.1965, allocations: 240.9 kB / 0.5943 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1965, allocations: 11.94 kB / 0.5943 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1965, allocations: 0 / 0.5943 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1966, allocations: 4 kB / 0.5943 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.197, allocations: 63.98 kB / 0.5943 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.197, allocations: 0 / 0.5943 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.1972, allocations: 35.67 kB / 0.5944 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.01e-05/0.1973, allocations: 12 kB / 0.5944 GB, free: 9.742 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.0001287/0.1974, allocations: 125.8 kB / 0.5945 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1975, allocations: 11.84 kB / 0.5945 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.1981, allocations: 178.9 kB / 0.5947 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1981, allocations: 3.938 kB / 0.5947 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1981, allocations: 0 / 0.5947 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1981, allocations: 0 / 0.5947 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.1984, allocations: 217.4 kB / 0.5949 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1985, allocations: 7.984 kB / 0.5949 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.1987, allocations: 31.97 kB / 0.5949 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1987, allocations: 3.938 kB / 0.5949 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.1987, allocations: 4 kB / 0.5949 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1987, allocations: 4 kB / 0.5949 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1987, allocations: 0 / 0.5949 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.1994, allocations: 262.9 kB / 0.5952 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1995, allocations: 100.8 kB / 0.5953 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1995, allocations: 11.98 kB / 0.5953 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1997, allocations: 7.984 kB / 0.5953 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.1998, allocations: 11.98 kB / 0.5953 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1998, allocations: 4 kB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001105/0.1999, allocations: 112.7 kB / 0.5954 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1999, allocations: 0 / 0.5954 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005517/0.2005, allocations: 64.31 kB / 0.5955 GB, free: 8.508 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.0003691/0.2009, allocations: 151.2 kB / 0.5956 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000789/0.2017, allocations: 183.7 kB / 0.5958 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2017, allocations: 0 / 0.5958 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.202, allocations: 63.95 kB / 0.5959 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.2025, allocations: 20.17 kB / 0.5959 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.2031, allocations: 289.2 kB / 0.5962 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.2036, allocations: 0.7045 MB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000159/0.2038, allocations: 24.19 kB / 0.5969 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.849e-05/0.2038, allocations: 15.44 kB / 0.5969 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2038, allocations: 0 / 0.5969 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of Templates: time 0.007727/0.2116, allocations: 2.611 MB / 0.5994 GB, free: 4.43 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)