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.001348/0.001348, allocations: 100.2 kB / 16.41 MB, free: 6.008 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.001216/0.001216, allocations: 189.8 kB / 17.34 MB, free: 5.629 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.258/1.258, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7308/0.7308, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 72.36 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 80.91 MB / 0.6653 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005321/0.1399, allocations: 4.554 MB / 0.6697 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009384/0.1408, allocations: 0.8186 MB / 0.6705 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.1409, allocations: 0 / 0.6705 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.1411, allocations: 31.75 kB / 0.6706 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.1411, allocations: 31.72 kB / 0.6706 GB, free: 336 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004341/0.1416, allocations: 171.3 kB / 0.6708 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1418, allocations: 175.4 kB / 0.6709 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.1419, allocations: 21.11 kB / 0.671 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.142, allocations: 75.77 kB / 0.671 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.967e-05/0.1421, allocations: 79.66 kB / 0.6711 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1422, allocations: 12 kB / 0.6711 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.1425, allocations: 155.8 kB / 0.6713 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.926e-05/0.1425, allocations: 31.91 kB / 0.6713 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.164e-05/0.1426, allocations: 63.72 kB / 0.6714 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1429, allocations: 247.2 kB / 0.6716 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1429, allocations: 0 / 0.6716 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1429, allocations: 0 / 0.6716 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1429, allocations: 4 kB / 0.6716 GB, free: 15.31 MB / 0.5137 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.0007642/0.1437, allocations: 478.9 kB / 0.6721 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1437, allocations: 17.05 kB / 0.6721 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.1438, allocations: 24.72 kB / 0.6721 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1439, allocations: 176.2 kB / 0.6723 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1439, allocations: 12.12 kB / 0.6723 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1439, allocations: 7.938 kB / 0.6723 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.1442, allocations: 119.5 kB / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1443, allocations: 0 / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1443, allocations: 4 kB / 0.6724 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1443, allocations: 8 kB / 0.6724 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.1446, allocations: 139.8 kB / 0.6725 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.1455, allocations: 464.5 kB / 0.673 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.1458, allocations: 122.5 kB / 0.6731 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.146, allocations: 76.8 kB / 0.6732 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.1472, allocations: 0.9648 MB / 0.6741 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1472, allocations: 38.5 kB / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.313e-06/0.1472, allocations: 0 / 0.6742 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006041/0.1478, allocations: 221.2 kB / 0.6744 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1479, allocations: 55.41 kB / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.148, allocations: 160.2 kB / 0.6746 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.148, allocations: 29.7 kB / 0.6746 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1481, allocations: 108.4 kB / 0.6747 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.1481, allocations: 47.3 kB / 0.6747 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.1482, allocations: 49.7 kB / 0.6748 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1483, allocations: 322.8 kB / 0.6751 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1485, allocations: 71.94 kB / 0.6752 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1488, allocations: 107.4 kB / 0.6753 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1492, allocations: 175.3 kB / 0.6754 GB, free: 11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1492, allocations: 3.938 kB / 0.6754 GB, free: 11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005245/0.1497, allocations: 248.9 kB / 0.6757 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1497, allocations: 4 kB / 0.6757 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1497, allocations: 0 / 0.6757 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1497, allocations: 4 kB / 0.6757 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.15, allocations: 55.89 kB / 0.6757 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.15, allocations: 0 / 0.6757 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1502, allocations: 35.83 kB / 0.6758 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1502, allocations: 11.98 kB / 0.6758 GB, free: 10.64 MB / 0.5137 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.047e-05/0.1503, allocations: 123.1 kB / 0.6759 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.491e-05/0.1503, allocations: 15.75 kB / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1508, allocations: 178.9 kB / 0.6761 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1508, allocations: 4 kB / 0.6761 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1508, allocations: 0 / 0.6761 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1508, allocations: 0 / 0.6761 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.151, allocations: 225.5 kB / 0.6763 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.151, allocations: 3.938 kB / 0.6763 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.1512, allocations: 31.91 kB / 0.6763 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1512, allocations: 0 / 0.6763 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1512, allocations: 8 kB / 0.6764 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1512, allocations: 0 / 0.6764 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1512, allocations: 0 / 0.6764 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.1516, allocations: 255.2 kB / 0.6766 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.1517, allocations: 100.9 kB / 0.6767 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1517, allocations: 4 kB / 0.6767 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.1518, allocations: 19.98 kB / 0.6767 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.1519, allocations: 7.984 kB / 0.6767 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1519, allocations: 0 / 0.6767 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.382e-05/0.152, allocations: 116 kB / 0.6768 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 0 / 0.6768 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003029/0.1523, allocations: 64.06 kB / 0.6769 GB, free: 9.414 MB / 0.5137 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.0002491/0.1525, allocations: 158.1 kB / 0.677 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004532/0.153, allocations: 171.8 kB / 0.6772 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.153, allocations: 192 / 0.6772 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.1532, allocations: 71.89 kB / 0.6773 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1535, allocations: 16 kB / 0.6773 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.154, allocations: 282.8 kB / 0.6776 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1542, allocations: 0.7084 MB / 0.6783 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1543, allocations: 19.44 kB / 0.6783 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1543, allocations: 3.938 kB / 0.6783 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.003941/0.1583, allocations: 2.58 MB / 0.6808 GB, free: 5.363 MB / 0.5137 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)