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-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_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.0008194/0.0008193, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000886/0.000886, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8148/0.8148, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000283/0.0002831, allocations: 12 kB / 0.5068 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004194/0.146, allocations: 3.848 MB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.1468, allocations: 0.7102 MB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.1468, allocations: 4 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.147, allocations: 23.81 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.059e-05/0.147, allocations: 35.92 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.1473, allocations: 135.7 kB / 0.5918 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.1475, allocations: 107.8 kB / 0.5919 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.1476, allocations: 9.125 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1477, allocations: 75.73 kB / 0.592 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.601e-05/0.1478, allocations: 71.73 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1478, allocations: 8 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.1481, allocations: 119.8 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.526e-05/0.1481, allocations: 27.91 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.103e-05/0.1482, allocations: 41.64 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1484, allocations: 167.9 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.1484, allocations: 0 / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1484, allocations: 0 / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.1484, allocations: 0 / 0.5924 GB, free: 13.7 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.0007155/0.1491, allocations: 466.8 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1491, allocations: 8.031 kB / 0.5929 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1492, allocations: 19.77 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1493, allocations: 194.3 kB / 0.5931 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1493, allocations: 8 kB / 0.5931 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1494, allocations: 12 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.1497, allocations: 117.6 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1497, allocations: 4 kB / 0.5932 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1497, allocations: 8 kB / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1497, allocations: 0 / 0.5932 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.1501, allocations: 167.8 kB / 0.5934 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.151, allocations: 476.4 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1513, allocations: 138.5 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.1525, allocations: 0.9609 MB / 0.5949 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.1525, allocations: 42.44 kB / 0.595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.1525, allocations: 0 / 0.595 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000639/0.1532, allocations: 233.4 kB / 0.5952 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1532, allocations: 55.41 kB / 0.5952 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1533, allocations: 174.5 kB / 0.5954 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1534, allocations: 29.7 kB / 0.5954 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.1534, allocations: 104.4 kB / 0.5955 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.1535, allocations: 39.44 kB / 0.5956 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.1535, allocations: 8 kB / 0.5956 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.1536, allocations: 318.8 kB / 0.5959 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1538, allocations: 87.95 kB / 0.596 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.154, allocations: 123.4 kB / 0.5961 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.1543, allocations: 91.84 kB / 0.5962 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1543, allocations: 3.953 kB / 0.5962 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005275/0.1548, allocations: 269.2 kB / 0.5964 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1548, allocations: 5.875 kB / 0.5964 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1548, allocations: 4 kB / 0.5964 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.1549, allocations: 0 / 0.5964 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.1551, allocations: 63.89 kB / 0.5965 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1551, allocations: 0 / 0.5965 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.1553, allocations: 39.86 kB / 0.5965 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1553, allocations: 12 kB / 0.5966 GB, free: 9.129 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.793e-05/0.1554, allocations: 123.8 kB / 0.5967 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.1554, allocations: 15.77 kB / 0.5967 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.1559, allocations: 195 kB / 0.5969 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1559, allocations: 0 / 0.5969 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1559, allocations: 4 kB / 0.5969 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1559, allocations: 4 kB / 0.5969 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.1561, allocations: 221.4 kB / 0.5971 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1561, allocations: 0 / 0.5971 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1563, allocations: 39.88 kB / 0.5971 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1563, allocations: 0 / 0.5971 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1563, allocations: 7.984 kB / 0.5971 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1563, allocations: 4 kB / 0.5971 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1563, allocations: 0 / 0.5971 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004088/0.1567, allocations: 275.1 kB / 0.5974 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1568, allocations: 96.91 kB / 0.5975 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1568, allocations: 11.89 kB / 0.5975 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.157, allocations: 15.98 kB / 0.5975 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.157, allocations: 7.984 kB / 0.5975 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.157, allocations: 8 kB / 0.5975 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.679e-05/0.1571, allocations: 116.7 kB / 0.5977 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 3.938 kB / 0.5977 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002948/0.1574, allocations: 64.05 kB / 0.5977 GB, free: 7.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000218/0.1576, allocations: 158.5 kB / 0.5979 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.1581, allocations: 188 kB / 0.598 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1581, allocations: 0 / 0.598 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1583, allocations: 75.89 kB / 0.5981 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1585, allocations: 23.98 kB / 0.5981 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004328/0.159, allocations: 357.6 kB / 0.5985 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.1592, allocations: 0.7086 MB / 0.5992 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.057e-05/0.1593, allocations: 21.06 kB / 0.5992 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.1593, allocations: 15.44 kB / 0.5992 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1593, allocations: 0 / 0.5992 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Templates: time 0.004482/0.1638, allocations: 2.466 MB / 0.6016 GB, free: 3.82 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: