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.0009052/0.0009053, allocations: 99.86 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.0008162/0.0008162, allocations: 177.3 kB / 15.94 MB, free: 228 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.163/1.163, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 135.2 MB / 426.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 13.56 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 82.3 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004034/0.1454, allocations: 3.847 MB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008192/0.1462, allocations: 0.7063 MB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1463, allocations: 4 kB / 0.5916 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1464, allocations: 19.89 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.1465, allocations: 43.86 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1469, allocations: 127.7 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.147, allocations: 111.8 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.1471, allocations: 17.06 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1473, allocations: 71.75 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.1474, allocations: 75.72 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1474, allocations: 4 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.1477, allocations: 123.8 kB / 0.5922 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.1477, allocations: 23.91 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1477, allocations: 45.64 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1479, allocations: 159.9 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.148, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.148, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.148, allocations: 0 / 0.5924 GB, free: 13.74 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.0007276/0.1487, allocations: 474.7 kB / 0.5929 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.1487, allocations: 8.031 kB / 0.5929 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1488, allocations: 15.86 kB / 0.5929 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1489, allocations: 190.1 kB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1489, allocations: 8 kB / 0.5931 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.149, allocations: 12 kB / 0.5931 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.1493, allocations: 129.6 kB / 0.5932 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1493, allocations: 0 / 0.5932 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1493, allocations: 0 / 0.5932 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1494, allocations: 4 kB / 0.5932 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.1498, allocations: 163.8 kB / 0.5934 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.1506, allocations: 480.3 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.1509, allocations: 136.8 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/0.1521, allocations: 0.9648 MB / 0.5949 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.1521, allocations: 38.5 kB / 0.595 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.1521, allocations: 0 / 0.595 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006212/0.1527, allocations: 240.9 kB / 0.5952 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1528, allocations: 55.41 kB / 0.5952 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1529, allocations: 166.5 kB / 0.5954 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1529, allocations: 29.7 kB / 0.5954 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.153, allocations: 108.4 kB / 0.5955 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.1531, allocations: 39.45 kB / 0.5956 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.1531, allocations: 8 kB / 0.5956 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.1532, allocations: 322.8 kB / 0.5959 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.1534, allocations: 83.94 kB / 0.596 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1536, allocations: 119.4 kB / 0.5961 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.1539, allocations: 99.83 kB / 0.5962 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1539, allocations: 3.953 kB / 0.5962 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005219/0.1544, allocations: 261.2 kB / 0.5964 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1544, allocations: 4 kB / 0.5964 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1544, allocations: 7.984 kB / 0.5964 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1544, allocations: 3.938 kB / 0.5964 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002534/0.1547, allocations: 71.98 kB / 0.5965 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1547, allocations: 0 / 0.5965 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.1549, allocations: 31.77 kB / 0.5965 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.1549, allocations: 12 kB / 0.5966 GB, free: 9.164 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.738e-05/0.155, allocations: 125.8 kB / 0.5967 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.155, allocations: 19.77 kB / 0.5967 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.1555, allocations: 191 kB / 0.5969 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1555, allocations: 3.984 kB / 0.5969 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1555, allocations: 0 / 0.5969 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1555, allocations: 0 / 0.5969 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.1557, allocations: 225.4 kB / 0.5971 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1557, allocations: 0 / 0.5971 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.1559, allocations: 47.86 kB / 0.5971 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1559, allocations: 0 / 0.5971 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1559, allocations: 4 kB / 0.5971 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1559, allocations: 0 / 0.5971 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1559, allocations: 0 / 0.5971 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004181/0.1563, allocations: 267.4 kB / 0.5974 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.962e-05/0.1564, allocations: 100.9 kB / 0.5975 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1565, allocations: 3.953 kB / 0.5975 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.1566, allocations: 23.97 kB / 0.5975 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.1566, allocations: 11.98 kB / 0.5975 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.1567, allocations: 4 kB / 0.5975 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.023e-05/0.1567, allocations: 116.7 kB / 0.5977 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 0 / 0.5977 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003091/0.1571, allocations: 56.06 kB / 0.5977 GB, free: 7.891 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.0002139/0.1573, allocations: 159.1 kB / 0.5979 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.1577, allocations: 187.5 kB / 0.598 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1578, allocations: 0 / 0.598 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.1579, allocations: 90.36 kB / 0.5981 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1582, allocations: 15.94 kB / 0.5981 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004256/0.1586, allocations: 357.6 kB / 0.5985 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.1588, allocations: 0.7164 MB / 0.5992 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.062e-05/0.1589, allocations: 24.78 kB / 0.5992 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.159, allocations: 15.44 kB / 0.5992 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.159, allocations: 0 / 0.5992 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of Templates: time 0.004746/0.1637, allocations: 2.463 MB / 0.6016 GB, free: 3.855 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: