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.001623/0.001623, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001294/0.001294, allocations: 195.7 kB / 16.14 MB, free: 6.703 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9731/0.9731, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.14 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1741, allocations: 80.92 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005915/0.18, allocations: 4.583 MB / 0.5882 GB, free: 428 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1811, allocations: 0.8265 MB / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.1811, allocations: 0 / 0.589 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1813, allocations: 19.89 kB / 0.589 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.886e-05/0.1814, allocations: 35.7 kB / 0.589 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.1818, allocations: 139.6 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.182, allocations: 171.4 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.1821, allocations: 21.06 kB / 0.5894 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1823, allocations: 71.75 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.1824, allocations: 71.73 kB / 0.5895 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1824, allocations: 8 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.1827, allocations: 147.7 kB / 0.5896 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.1827, allocations: 27.84 kB / 0.5897 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.871e-05/0.1828, allocations: 67.64 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.1831, allocations: 235.6 kB / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1831, allocations: 4 kB / 0.59 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1831, allocations: 0 / 0.59 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1832, allocations: 0 / 0.59 GB, free: 14.58 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.0008678/0.184, allocations: 474.9 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1841, allocations: 12.03 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.1841, allocations: 16.75 kB / 0.5904 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1843, allocations: 186.2 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1843, allocations: 8.375 kB / 0.5906 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1843, allocations: 15.94 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1846, allocations: 113.6 kB / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.1847, allocations: 0 / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1847, allocations: 0 / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1847, allocations: 4 kB / 0.5908 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.1851, allocations: 147.8 kB / 0.5909 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009528/0.1861, allocations: 472.3 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1864, allocations: 130.5 kB / 0.5915 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.1866, allocations: 68.81 kB / 0.5915 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.1879, allocations: 0.9685 MB / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1879, allocations: 38.44 kB / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1879, allocations: 0 / 0.5925 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006748/0.1886, allocations: 205.4 kB / 0.5927 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.1887, allocations: 55.39 kB / 0.5928 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1888, allocations: 170.5 kB / 0.5929 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1888, allocations: 25.7 kB / 0.593 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.1889, allocations: 108.4 kB / 0.5931 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.189, allocations: 43.44 kB / 0.5931 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.189, allocations: 45.7 kB / 0.5931 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1892, allocations: 326.8 kB / 0.5935 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1894, allocations: 75.94 kB / 0.5935 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1896, allocations: 111.3 kB / 0.5936 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.19, allocations: 168 kB / 0.5938 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1901, allocations: 0 / 0.5938 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005457/0.1906, allocations: 248.4 kB / 0.594 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1906, allocations: 11.94 kB / 0.594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1906, allocations: 0 / 0.594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1907, allocations: 0 / 0.594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.1909, allocations: 59.89 kB / 0.5941 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.191, allocations: 0 / 0.5941 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.1911, allocations: 43.77 kB / 0.5941 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1912, allocations: 8 kB / 0.5942 GB, free: 9.914 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 9.231e-05/0.1913, allocations: 133.7 kB / 0.5943 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.1913, allocations: 11.84 kB / 0.5943 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.1918, allocations: 182.6 kB / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1918, allocations: 0 / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1918, allocations: 0 / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1918, allocations: 0 / 0.5945 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1921, allocations: 213.5 kB / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1921, allocations: 0 / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1922, allocations: 39.91 kB / 0.5947 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1922, allocations: 3.938 kB / 0.5947 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1923, allocations: 0 / 0.5947 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1923, allocations: 4 kB / 0.5947 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1923, allocations: 4 kB / 0.5947 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.1927, allocations: 247.3 kB / 0.595 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1928, allocations: 100.8 kB / 0.5951 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1928, allocations: 7.984 kB / 0.5951 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.193, allocations: 15.98 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.193, allocations: 11.98 kB / 0.5951 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.193, allocations: 4 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.468e-05/0.1931, allocations: 112.7 kB / 0.5952 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1931, allocations: 0 / 0.5952 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003234/0.1935, allocations: 60.31 kB / 0.5953 GB, free: 8.691 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.0002661/0.1937, allocations: 163.1 kB / 0.5954 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004788/0.1942, allocations: 167.8 kB / 0.5956 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1942, allocations: 4.188 kB / 0.5956 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.1944, allocations: 75.88 kB / 0.5956 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1948, allocations: 12 kB / 0.5957 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.1953, allocations: 284.8 kB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1955, allocations: 0.7048 MB / 0.5966 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.1956, allocations: 32.27 kB / 0.5966 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1957, allocations: 19.44 kB / 0.5967 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1957, allocations: 7.938 kB / 0.5967 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.005284/0.201, allocations: 2.543 MB / 0.5992 GB, free: 4.668 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)