Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001072/0.001072, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001141/0.001141, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7961/0.7961, allocations: 132.2 MB / 423.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3526, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006028/0.3587, allocations: 4.552 MB / 0.5859 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.3597, allocations: 0.8223 MB / 0.5867 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.449e-05/0.3598, allocations: 1.344 kB / 0.5867 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.36, allocations: 29.11 kB / 0.5868 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.3601, allocations: 37.64 kB / 0.5868 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005287/0.3606, allocations: 166.8 kB / 0.587 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3609, allocations: 175.1 kB / 0.5871 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.361, allocations: 19.92 kB / 0.5871 GB, free: 23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3612, allocations: 83.66 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3613, allocations: 74.02 kB / 0.5873 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.3614, allocations: 12.22 kB / 0.5873 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.3617, allocations: 162.4 kB / 0.5875 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.3618, allocations: 29.03 kB / 0.5875 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.3618, allocations: 72.08 kB / 0.5876 GB, free: 22.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.3622, allocations: 239.7 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3622, allocations: 3.984 kB / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3622, allocations: 0 / 0.5878 GB, free: 22.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.3622, allocations: 0 / 0.5878 GB, free: 22.59 MB / 446.1 MB 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.0008591/0.3631, allocations: 476 kB / 0.5882 GB, free: 22.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3632, allocations: 9.5 kB / 0.5883 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.3632, allocations: 18.81 kB / 0.5883 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.3633, allocations: 184.2 kB / 0.5884 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3634, allocations: 9.5 kB / 0.5885 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3634, allocations: 16.47 kB / 0.5885 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3637, allocations: 119.6 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3637, allocations: 1.562 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3638, allocations: 0 / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.3638, allocations: 2.469 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.3642, allocations: 141.4 kB / 0.5887 GB, free: 21.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009465/0.3651, allocations: 473.1 kB / 0.5892 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.3654, allocations: 127.8 kB / 0.5893 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3656, allocations: 69.06 kB / 0.5894 GB, free: 21.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.3668, allocations: 0.9604 MB / 0.5903 GB, free: 20.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.3668, allocations: 43.84 kB / 0.5903 GB, free: 20.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3668, allocations: 0 / 0.5903 GB, free: 20.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006103/0.3674, allocations: 214.4 kB / 0.5906 GB, free: 20.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3675, allocations: 54.19 kB / 0.5906 GB, free: 20.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3676, allocations: 156 kB / 0.5908 GB, free: 19.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3676, allocations: 30.8 kB / 0.5908 GB, free: 19.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.3677, allocations: 114.2 kB / 0.5909 GB, free: 19.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.3677, allocations: 39.33 kB / 0.5909 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.3678, allocations: 54.98 kB / 0.591 GB, free: 19.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.3679, allocations: 321.3 kB / 0.5913 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3681, allocations: 78.12 kB / 0.5914 GB, free: 19.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.3683, allocations: 105.7 kB / 0.5915 GB, free: 19.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.3687, allocations: 174.8 kB / 0.5916 GB, free: 19.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3687, allocations: 0 / 0.5916 GB, free: 19.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005094/0.3692, allocations: 246.6 kB / 0.5919 GB, free: 19.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3692, allocations: 13.33 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3692, allocations: 1.656 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3692, allocations: 1.344 kB / 0.5919 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.3695, allocations: 49.47 kB / 0.5919 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3695, allocations: 5.094 kB / 0.5919 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.3697, allocations: 33.45 kB / 0.592 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.3697, allocations: 10.8 kB / 0.592 GB, free: 18.99 MB / 446.1 MB 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 8.048e-05/0.3698, allocations: 123.2 kB / 0.5921 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.3699, allocations: 21.48 kB / 0.5921 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.3703, allocations: 179.9 kB / 0.5923 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3703, allocations: 4.688 kB / 0.5923 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.3703, allocations: 0 / 0.5923 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3703, allocations: 0 / 0.5923 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3705, allocations: 222.8 kB / 0.5925 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3705, allocations: 0 / 0.5925 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.3707, allocations: 33.19 kB / 0.5925 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3707, allocations: 5.031 kB / 0.5925 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3707, allocations: 4 kB / 0.5925 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3707, allocations: 0 / 0.5925 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3707, allocations: 1.719 kB / 0.5925 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3711, allocations: 260.8 kB / 0.5928 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3712, allocations: 104.9 kB / 0.5929 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3712, allocations: 0.5312 kB / 0.5929 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3713, allocations: 17.42 kB / 0.5929 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.3714, allocations: 7.984 kB / 0.5929 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3714, allocations: 8 kB / 0.5929 GB, free: 18.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.273e-05/0.3715, allocations: 118.5 kB / 0.593 GB, free: 17.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3715, allocations: 0 / 0.593 GB, free: 17.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003564/0.3718, allocations: 56.12 kB / 0.5931 GB, free: 17.89 MB / 446.1 MB 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.0003128/0.3721, allocations: 158.2 kB / 0.5932 GB, free: 17.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.3726, allocations: 178.2 kB / 0.5934 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3726, allocations: 0 / 0.5934 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.3728, allocations: 65.95 kB / 0.5935 GB, free: 17.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.3731, allocations: 23.58 kB / 0.5935 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.3736, allocations: 245.9 kB / 0.5937 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3737, allocations: 0.7068 MB / 0.5944 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.197e-05/0.3738, allocations: 19.7 kB / 0.5944 GB, free: 16.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.3739, allocations: 21.41 kB / 0.5945 GB, free: 16.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3739, allocations: 0 / 0.5945 GB, free: 16.44 MB / 446.1 MB Notification: Performance of Templates: time 0.005052/0.3789, allocations: 2.728 MB / 0.5971 GB, free: 13.77 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)