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.0007923/0.0007922, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008222/0.0008221, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9171/0.9171, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003437, allocations: 8 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1573, allocations: 82.31 MB / 0.5886 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004607/0.1619, allocations: 4.196 MB / 0.5927 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009699/0.1629, allocations: 0.8149 MB / 0.5935 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.741e-05/0.163, allocations: 0 / 0.5935 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.1632, allocations: 31.83 kB / 0.5935 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.1632, allocations: 27.77 kB / 0.5936 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.1637, allocations: 147.5 kB / 0.5937 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1639, allocations: 171.4 kB / 0.5939 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.108e-05/0.1639, allocations: 13.12 kB / 0.5939 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1641, allocations: 75.69 kB / 0.594 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.778e-05/0.1642, allocations: 71.72 kB / 0.594 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1642, allocations: 8 kB / 0.594 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.1645, allocations: 135.8 kB / 0.5942 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.887e-05/0.1646, allocations: 39.83 kB / 0.5942 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.1647, allocations: 85.42 kB / 0.5943 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1649, allocations: 163.9 kB / 0.5944 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1649, allocations: 3.938 kB / 0.5944 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1649, allocations: 0 / 0.5944 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1649, allocations: 3.938 kB / 0.5945 GB, free: 12.61 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.0007637/0.1657, allocations: 467 kB / 0.5949 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1657, allocations: 12.03 kB / 0.5949 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1658, allocations: 16.69 kB / 0.5949 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.1659, allocations: 180.2 kB / 0.5951 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1659, allocations: 8.375 kB / 0.5951 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.166, allocations: 15.92 kB / 0.5951 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/0.1663, allocations: 125.6 kB / 0.5952 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1663, allocations: 0 / 0.5952 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1663, allocations: 4 kB / 0.5952 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1664, allocations: 7.984 kB / 0.5953 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000434/0.1668, allocations: 167.7 kB / 0.5954 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.1678, allocations: 476.5 kB / 0.5959 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003021/0.1681, allocations: 130.5 kB / 0.596 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/0.1683, allocations: 80.81 kB / 0.5961 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.1697, allocations: 0.9686 MB / 0.597 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1697, allocations: 38.5 kB / 0.597 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1697, allocations: 0 / 0.597 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007413/0.1705, allocations: 241.4 kB / 0.5973 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1705, allocations: 55.41 kB / 0.5973 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1707, allocations: 162.6 kB / 0.5975 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1707, allocations: 33.7 kB / 0.5975 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.715e-05/0.1708, allocations: 100.4 kB / 0.5976 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.1709, allocations: 43.36 kB / 0.5977 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.1709, allocations: 29.7 kB / 0.5977 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1711, allocations: 326.8 kB / 0.598 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.1713, allocations: 91.81 kB / 0.5981 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1716, allocations: 119.4 kB / 0.5982 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.172, allocations: 195.1 kB / 0.5984 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1721, allocations: 0 / 0.5984 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005813/0.1726, allocations: 265.3 kB / 0.5986 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1727, allocations: 7.938 kB / 0.5986 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1727, allocations: 3.984 kB / 0.5986 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1727, allocations: 4 kB / 0.5987 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.173, allocations: 59.91 kB / 0.5987 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.173, allocations: 4 kB / 0.5987 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1732, allocations: 43.77 kB / 0.5988 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.1732, allocations: 7.984 kB / 0.5988 GB, free: 7.809 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.0001048/0.1733, allocations: 125.8 kB / 0.5989 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.1734, allocations: 11.84 kB / 0.5989 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005295/0.1739, allocations: 206.8 kB / 0.5991 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1739, allocations: 4 kB / 0.5991 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1739, allocations: 0 / 0.5991 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1739, allocations: 4 kB / 0.5991 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1742, allocations: 217.5 kB / 0.5993 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1742, allocations: 0 / 0.5993 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1744, allocations: 39.91 kB / 0.5993 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1744, allocations: 3.938 kB / 0.5993 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1744, allocations: 4 kB / 0.5994 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1744, allocations: 0 / 0.5994 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1744, allocations: 4 kB / 0.5994 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.1749, allocations: 278.8 kB / 0.5996 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/0.175, allocations: 100.9 kB / 0.5997 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.175, allocations: 0 / 0.5997 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.1752, allocations: 19.98 kB / 0.5997 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1752, allocations: 11.92 kB / 0.5997 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1752, allocations: 4 kB / 0.5998 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.742e-05/0.1753, allocations: 120.7 kB / 0.5999 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1753, allocations: 0 / 0.5999 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003476/0.1757, allocations: 64.05 kB / 0.5999 GB, free: 6.52 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.0003257/0.176, allocations: 155.1 kB / 0.6001 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005212/0.1765, allocations: 192 kB / 0.6003 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1766, allocations: 0 / 0.6003 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001987/0.1768, allocations: 75.89 kB / 0.6003 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1771, allocations: 26.39 kB / 0.6004 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1776, allocations: 331.5 kB / 0.6007 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1779, allocations: 0.7009 MB / 0.6014 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.041e-05/0.178, allocations: 19.44 kB / 0.6014 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.178, allocations: 0 / 0.6014 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of Templates: time 0.004273/0.1823, allocations: 2.525 MB / 0.6038 GB, free: 2.461 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)