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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 188.4 kB / 22.23 MB, free: 5.133 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8381/0.8381, allocations: 134 MB / 440.3 MB, free: 216 kB / 334.1 MB
"
[Timeout remaining time 179]
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=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder")
translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 60.39 kB / 0.6107 GB, free: 13.68 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 84.72 MB / 0.6935 GB, free: 9.02 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007005/0.188, allocations: 4.62 MB / 0.698 GB, free: 4.375 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.001196/0.1892, allocations: 0.8186 MB / 0.6988 GB, free: 3.551 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.387e-05/0.1892, allocations: 0 / 0.6988 GB, free: 3.551 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1894, allocations: 31.78 kB / 0.6988 GB, free: 3.52 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.1895, allocations: 31.7 kB / 0.6988 GB, free: 3.488 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.1901, allocations: 187.3 kB / 0.699 GB, free: 3.305 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1903, allocations: 171.4 kB / 0.6992 GB, free: 3.137 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1904, allocations: 21.22 kB / 0.6992 GB, free: 3.113 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1905, allocations: 79.77 kB / 0.6993 GB, free: 3.035 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1907, allocations: 75.67 kB / 0.6994 GB, free: 2.961 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1907, allocations: 15.94 kB / 0.6994 GB, free: 2.945 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.1911, allocations: 159.8 kB / 0.6995 GB, free: 2.789 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.1911, allocations: 39.89 kB / 0.6996 GB, free: 2.75 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.1912, allocations: 67.66 kB / 0.6996 GB, free: 2.684 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.1916, allocations: 239.2 kB / 0.6999 GB, free: 2.449 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1916, allocations: 0 / 0.6999 GB, free: 2.449 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.934e-06/0.1916, allocations: 0 / 0.6999 GB, free: 2.449 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 6.742e-06/0.1916, allocations: 3.938 kB / 0.6999 GB, free: 2.445 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.0009656/0.1926, allocations: 409.5 kB / 0.7003 GB, free: 2.016 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1926, allocations: 8.031 kB / 0.7003 GB, free: 2.008 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.1927, allocations: 16.84 kB / 0.7003 GB, free: 1.992 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1928, allocations: 129.8 kB / 0.7004 GB, free: 1.844 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1928, allocations: 12.12 kB / 0.7004 GB, free: 1.832 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1928, allocations: 12 kB / 0.7004 GB, free: 1.82 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1932, allocations: 121 kB / 0.7005 GB, free: 1.699 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1932, allocations: 4 kB / 0.7005 GB, free: 1.695 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1932, allocations: 4 kB / 0.7005 GB, free: 1.691 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1932, allocations: 0 / 0.7005 GB, free: 1.691 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.1937, allocations: 147.9 kB / 0.7007 GB, free: 1.547 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.1947, allocations: 439.5 kB / 0.7011 GB, free: 1.074 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.195, allocations: 114.5 kB / 0.7012 GB, free: 0.9531 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1952, allocations: 68.81 kB / 0.7013 GB, free: 0.8828 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.1963, allocations: 496 kB / 0.7018 GB, free: 388 kB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1964, allocations: 38.5 kB / 0.7018 GB, free: 340 kB / 0.5137 GB
Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1964, allocations: 0 / 0.7018 GB, free: 340 kB / 0.5137 GB
Notification: Performance of matching and sorting (n=12): time 0.0007446/0.1971, allocations: 213.4 kB / 0.702 GB, free: 120 kB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.1972, allocations: 51.41 kB / 0.702 GB, free: 56 kB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.1974, allocations: 159.3 kB / 0.7022 GB, free: 15.89 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1974, allocations: 29.7 kB / 0.7022 GB, free: 15.86 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1975, allocations: 108.4 kB / 0.7023 GB, free: 15.75 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1976, allocations: 47.64 kB / 0.7024 GB, free: 15.7 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-05/0.1976, allocations: 49.64 kB / 0.7024 GB, free: 15.64 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001616/0.1978, allocations: 322.8 kB / 0.7027 GB, free: 15.32 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.198, allocations: 79.88 kB / 0.7028 GB, free: 15.24 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.1983, allocations: 113.1 kB / 0.7029 GB, free: 15.12 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/0.1987, allocations: 167.3 kB / 0.7031 GB, free: 14.95 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1987, allocations: 0 / 0.7031 GB, free: 14.95 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005869/0.1993, allocations: 252.1 kB / 0.7033 GB, free: 14.7 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1993, allocations: 8 kB / 0.7033 GB, free: 14.69 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1994, allocations: 0 / 0.7033 GB, free: 14.69 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1994, allocations: 0 / 0.7033 GB, free: 14.69 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.1996, allocations: 59.84 kB / 0.7034 GB, free: 14.63 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1996, allocations: 4.094 kB / 0.7034 GB, free: 14.62 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.1998, allocations: 35.81 kB / 0.7034 GB, free: 14.59 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.1998, allocations: 8 kB / 0.7034 GB, free: 14.58 MB / 0.5294 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.0001242/0.2, allocations: 129.7 kB / 0.7035 GB, free: 14.45 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.2, allocations: 11.89 kB / 0.7036 GB, free: 14.43 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005043/0.2005, allocations: 186.8 kB / 0.7037 GB, free: 14.25 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2005, allocations: 0 / 0.7037 GB, free: 14.25 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2005, allocations: 4 kB / 0.7037 GB, free: 14.24 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2005, allocations: 0 / 0.7037 GB, free: 14.24 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.2007, allocations: 180.7 kB / 0.7039 GB, free: 14.02 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2007, allocations: 4 kB / 0.7039 GB, free: 14.02 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.2009, allocations: 35.91 kB / 0.7039 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2009, allocations: 0 / 0.7039 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2009, allocations: 0 / 0.7039 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2009, allocations: 8 kB / 0.704 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2009, allocations: 0 / 0.704 GB, free: 13.98 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2014, allocations: 258.4 kB / 0.7042 GB, free: 13.71 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.2015, allocations: 31.77 kB / 0.7042 GB, free: 13.68 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2015, allocations: 4 kB / 0.7042 GB, free: 13.68 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2016, allocations: 11.98 kB / 0.7042 GB, free: 13.66 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.2017, allocations: 15.92 kB / 0.7043 GB, free: 13.65 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.2017, allocations: 4 kB / 0.7043 GB, free: 13.64 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 9.971e-05/0.2018, allocations: 116.9 kB / 0.7044 GB, free: 13.53 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 8e-08/0.2018, allocations: 0 / 0.7044 GB, free: 13.53 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.0003527/0.2021, allocations: 59.86 kB / 0.7044 GB, free: 13.47 MB / 0.5294 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.0003181/0.2025, allocations: 155.1 kB / 0.7046 GB, free: 13.31 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0005313/0.203, allocations: 160 kB / 0.7047 GB, free: 13.15 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.203, allocations: 0 / 0.7047 GB, free: 13.15 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.2032, allocations: 63.89 kB / 0.7048 GB, free: 13.09 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.2036, allocations: 21.81 kB / 0.7048 GB, free: 13.07 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.2041, allocations: 265.7 kB / 0.7051 GB, free: 12.79 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.2045, allocations: 0.7046 MB / 0.7058 GB, free: 12.05 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 9.148e-05/0.2046, allocations: 24.02 kB / 0.7058 GB, free: 12.04 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.2046, allocations: 23.42 kB / 0.7058 GB, free: 12.01 MB / 0.5294 GB
Notification: Performance of SimCode: time 2.91e-07/0.2046, allocations: 0 / 0.7058 GB, free: 12.01 MB / 0.5294 GB
Notification: Performance of Templates: time 0.006731/0.2114, allocations: 2.802 MB / 0.7085 GB, free: 9.234 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660]
(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) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.524452704936266]
Failed to read output from testmodel.py, exit status != 0:
0.2191158840432763 0.233316885 0.038695934
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f77f867d7b0>