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.006134/0.006134, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001185/0.001186, allocations: 201.8 kB / 16.79 MB, free: 6.215 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.83 kB / 0.5053 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1906, allocations: 80.93 MB / 0.5844 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006042/0.1967, allocations: 4.569 MB / 0.5888 GB, free: 380 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1978, allocations: 0.8304 MB / 0.5896 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.1979, allocations: 4 kB / 0.5896 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.198, allocations: 31.83 kB / 0.5897 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.568e-05/0.1981, allocations: 27.77 kB / 0.5897 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.1986, allocations: 147.5 kB / 0.5898 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.1988, allocations: 163.4 kB / 0.59 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.1989, allocations: 21.05 kB / 0.59 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.199, allocations: 75.75 kB / 0.5901 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.1991, allocations: 75.72 kB / 0.5901 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1992, allocations: 8 kB / 0.5902 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.1995, allocations: 135.8 kB / 0.5903 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.218e-05/0.1995, allocations: 35.83 kB / 0.5903 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.1996, allocations: 55.72 kB / 0.5904 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1998, allocations: 163.9 kB / 0.5905 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1998, allocations: 0 / 0.5905 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.02e-07/0.1998, allocations: 3.938 kB / 0.5905 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1999, allocations: 4 kB / 0.5905 GB, free: 14.6 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.0008665/0.2007, allocations: 482.8 kB / 0.591 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.2008, allocations: 12.03 kB / 0.591 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.518e-05/0.2008, allocations: 16.69 kB / 0.591 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.201, allocations: 187.9 kB / 0.5912 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.201, allocations: 12.38 kB / 0.5912 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.2011, allocations: 15.94 kB / 0.5912 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2014, allocations: 113.6 kB / 0.5913 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2014, allocations: 3.938 kB / 0.5913 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2014, allocations: 0 / 0.5913 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2014, allocations: 0 / 0.5913 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.2019, allocations: 147.9 kB / 0.5915 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.2028, allocations: 472.4 kB / 0.5919 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2031, allocations: 122.5 kB / 0.592 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.2033, allocations: 72.06 kB / 0.5921 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.2046, allocations: 0.9725 MB / 0.5931 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2047, allocations: 42.44 kB / 0.5931 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.2047, allocations: 0 / 0.5931 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006482/0.2053, allocations: 202.5 kB / 0.5933 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.2054, allocations: 51.41 kB / 0.5934 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.2055, allocations: 174.5 kB / 0.5935 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.2055, allocations: 29.7 kB / 0.5935 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.2056, allocations: 104.4 kB / 0.5936 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.2057, allocations: 39.39 kB / 0.5937 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.2058, allocations: 49.7 kB / 0.5937 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2059, allocations: 322.8 kB / 0.594 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.2061, allocations: 79.94 kB / 0.5941 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2064, allocations: 107.4 kB / 0.5942 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.2068, allocations: 175.2 kB / 0.5944 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2068, allocations: 0 / 0.5944 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005445/0.2073, allocations: 244.5 kB / 0.5946 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2074, allocations: 14.44 kB / 0.5946 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2074, allocations: 0 / 0.5946 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2074, allocations: 0 / 0.5946 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.2076, allocations: 59.89 kB / 0.5947 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2077, allocations: 0 / 0.5947 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.2078, allocations: 31.77 kB / 0.5947 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.2079, allocations: 8 kB / 0.5947 GB, free: 9.934 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.000107/0.208, allocations: 133.9 kB / 0.5949 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.208, allocations: 15.75 kB / 0.5949 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004816/0.2085, allocations: 178.6 kB / 0.595 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.2085, allocations: 3.984 kB / 0.595 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2085, allocations: 7.938 kB / 0.595 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2085, allocations: 3.984 kB / 0.5951 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.2088, allocations: 217.4 kB / 0.5953 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.2088, allocations: 0 / 0.5953 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.2089, allocations: 39.91 kB / 0.5953 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.209, allocations: 3.938 kB / 0.5953 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.209, allocations: 0 / 0.5953 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.209, allocations: 0 / 0.5953 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.209, allocations: 4 kB / 0.5953 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.2094, allocations: 247.4 kB / 0.5955 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.2095, allocations: 100.8 kB / 0.5956 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2095, allocations: 4 kB / 0.5956 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2097, allocations: 15.97 kB / 0.5957 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.2098, allocations: 15.98 kB / 0.5957 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2098, allocations: 11.94 kB / 0.5957 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.442e-05/0.2099, allocations: 116.6 kB / 0.5958 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2099, allocations: 0 / 0.5958 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003358/0.2102, allocations: 60.06 kB / 0.5959 GB, free: 8.684 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.0002755/0.2105, allocations: 151.2 kB / 0.596 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005112/0.211, allocations: 163.8 kB / 0.5962 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.211, allocations: 0 / 0.5962 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.2112, allocations: 80.06 kB / 0.5962 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2116, allocations: 12 kB / 0.5962 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.2121, allocations: 316.6 kB / 0.5965 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.2124, allocations: 0.7009 MB / 0.5972 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.2125, allocations: 23.38 kB / 0.5972 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2125, allocations: 4 kB / 0.5973 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.004714/0.2172, allocations: 2.528 MB / 0.5997 GB, free: 4.664 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)