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.001387/0.001387, allocations: 106 kB / 16.41 MB, free: 6.488 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.001349/0.001349, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 66.45 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1712, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006539/0.1778, allocations: 4.549 MB / 0.6697 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1789, allocations: 0.8147 MB / 0.6705 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.849e-05/0.179, allocations: 0 / 0.6705 GB, free: 424 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.1792, allocations: 39.7 kB / 0.6706 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.324e-05/0.1793, allocations: 31.7 kB / 0.6706 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.1799, allocations: 171.3 kB / 0.6708 GB, free: 180 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1801, allocations: 179.4 kB / 0.6709 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1802, allocations: 17.17 kB / 0.671 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.1804, allocations: 79.75 kB / 0.671 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1806, allocations: 79.66 kB / 0.6711 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.1806, allocations: 12 kB / 0.6711 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.181, allocations: 155.8 kB / 0.6713 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.181, allocations: 39.89 kB / 0.6713 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.1811, allocations: 63.72 kB / 0.6714 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003659/0.1815, allocations: 235.3 kB / 0.6716 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1815, allocations: 7.938 kB / 0.6716 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1815, allocations: 0 / 0.6716 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1815, allocations: 4 kB / 0.6716 GB, free: 15.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008994/0.1825, allocations: 478.9 kB / 0.6721 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1825, allocations: 9.109 kB / 0.6721 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.1826, allocations: 16.75 kB / 0.6721 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.1827, allocations: 188.2 kB / 0.6723 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1827, allocations: 8.125 kB / 0.6723 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1828, allocations: 8 kB / 0.6723 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1831, allocations: 119.3 kB / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1831, allocations: 4 kB / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.1831, allocations: 4 kB / 0.6724 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1832, allocations: 4 kB / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.1836, allocations: 143.8 kB / 0.6725 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1848, allocations: 464.5 kB / 0.673 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.1852, allocations: 122.5 kB / 0.6731 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.1855, allocations: 76.81 kB / 0.6732 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.1873, allocations: 0.9609 MB / 0.6741 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1873, allocations: 34.5 kB / 0.6741 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1873, allocations: 0 / 0.6741 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0009163/0.1883, allocations: 217.2 kB / 0.6744 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1883, allocations: 55.41 kB / 0.6744 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.1885, allocations: 164.2 kB / 0.6746 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1885, allocations: 29.7 kB / 0.6746 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.1887, allocations: 108.4 kB / 0.6747 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.1887, allocations: 47.3 kB / 0.6747 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.1888, allocations: 49.69 kB / 0.6748 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.189, allocations: 326.8 kB / 0.6751 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.1893, allocations: 67.95 kB / 0.6752 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.1896, allocations: 115.4 kB / 0.6753 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.1902, allocations: 169.5 kB / 0.6754 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1902, allocations: 0 / 0.6754 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008117/0.1911, allocations: 245.2 kB / 0.6757 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1911, allocations: 7.938 kB / 0.6757 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1911, allocations: 7.875 kB / 0.6757 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.1911, allocations: 4 kB / 0.6757 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003881/0.1915, allocations: 51.97 kB / 0.6757 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1916, allocations: 4.094 kB / 0.6757 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.1918, allocations: 35.72 kB / 0.6758 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.1919, allocations: 8 kB / 0.6758 GB, free: 10.66 MB / 0.5137 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.0001543/0.192, allocations: 123.1 kB / 0.6759 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.1921, allocations: 15.75 kB / 0.6759 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006618/0.1928, allocations: 187.2 kB / 0.6761 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1928, allocations: 0 / 0.6761 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1928, allocations: 0 / 0.6761 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1928, allocations: 0 / 0.6761 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003503/0.1932, allocations: 221.5 kB / 0.6763 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1932, allocations: 0 / 0.6763 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.1934, allocations: 31.91 kB / 0.6763 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.1934, allocations: 3.938 kB / 0.6763 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1935, allocations: 4 kB / 0.6763 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1935, allocations: 4 kB / 0.6763 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1935, allocations: 0 / 0.6763 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.1941, allocations: 259.2 kB / 0.6766 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.1943, allocations: 96.94 kB / 0.6767 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.1943, allocations: 4 kB / 0.6767 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.1945, allocations: 15.98 kB / 0.6767 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.1946, allocations: 11.98 kB / 0.6767 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1946, allocations: 0 / 0.6767 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001359/0.1948, allocations: 116 kB / 0.6768 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1948, allocations: 0 / 0.6768 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005188/0.1953, allocations: 68.05 kB / 0.6769 GB, free: 9.426 MB / 0.5137 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.000424/0.1957, allocations: 155.1 kB / 0.677 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006563/0.1964, allocations: 175.6 kB / 0.6772 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1964, allocations: 0 / 0.6772 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.1967, allocations: 63.95 kB / 0.6773 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.1973, allocations: 23.98 kB / 0.6773 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.198, allocations: 282.8 kB / 0.6776 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1984, allocations: 0.7006 MB / 0.6782 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.041e-05/0.1985, allocations: 27.36 kB / 0.6783 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1985, allocations: 0 / 0.6783 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of Templates: time 0.007588/0.2061, allocations: 2.574 MB / 0.6808 GB, free: 5.387 MB / 0.5137 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)