Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001338/0.001338, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001462/0.001462, allocations: 187.2 kB / 22.22 MB, free: 5.102 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.596/1.596, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04296/0.04296, allocations: 8.542 MB / 314.8 MB, free: 252 kB / 238.1 MB
"
[Timeout remaining time 180]
Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/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(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO")
translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002712, allocations: 63.89 kB / 438.9 MB, free: 12.23 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1476, allocations: 54.26 MB / 493.2 MB, free: 5.871 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00704/0.1546, allocations: 3.873 MB / 497.1 MB, free: 1.977 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003472/0.1581, allocations: 1.808 MB / 498.9 MB, free: 168 kB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004933/0.1586, allocations: 11.94 kB / 498.9 MB, free: 156 kB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006744/0.1593, allocations: 207 kB / 499.1 MB, free: 15.95 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0009807/0.1602, allocations: 234.7 kB / 499.3 MB, free: 15.71 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.1616, allocations: 386.7 kB / 499.7 MB, free: 15.34 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001273/0.1628, allocations: 0.6587 MB / 0.4886 GB, free: 14.68 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006492/0.1635, allocations: 245.7 kB / 0.4889 GB, free: 14.43 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.1641, allocations: 286.8 kB / 0.4891 GB, free: 14.15 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006858/0.1648, allocations: 346.5 kB / 0.4895 GB, free: 13.81 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.1649, allocations: 60 kB / 0.4895 GB, free: 13.75 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000294/0.1652, allocations: 124 kB / 0.4896 GB, free: 13.63 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000257/0.1655, allocations: 223.3 kB / 0.4899 GB, free: 13.41 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.1659, allocations: 369.8 kB / 0.4902 GB, free: 13.05 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001228/0.1671, allocations: 0.9259 MB / 0.4911 GB, free: 12.12 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1671, allocations: 0 / 0.4911 GB, free: 12.12 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.193e-06/0.1671, allocations: 0 / 0.4911 GB, free: 12.12 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.008e-05/0.1671, allocations: 0 / 0.4911 GB, free: 12.12 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 114
 * Number of variables: 114
Notification: Performance of Generate backend data structure: time 0.002142/0.1693, allocations: 1.085 MB / 0.4922 GB, free: 10.99 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1693, allocations: 8.031 kB / 0.4922 GB, free: 10.98 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1695, allocations: 96.33 kB / 0.4923 GB, free: 10.89 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.1704, allocations: 0.5262 MB / 0.4928 GB, free: 10.34 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.1704, allocations: 44.94 kB / 0.4928 GB, free: 10.29 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.289e-05/0.1705, allocations: 51.94 kB / 0.4929 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009921/0.1715, allocations: 479.8 kB / 0.4933 GB, free: 9.754 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.1715, allocations: 7.953 kB / 0.4933 GB, free: 9.746 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.1716, allocations: 20 kB / 0.4934 GB, free: 9.727 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1716, allocations: 16 kB / 0.4934 GB, free: 9.711 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.1726, allocations: 351.7 kB / 0.4937 GB, free: 9.367 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.1758, allocations: 1.779 MB / 0.4955 GB, free: 7.52 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009332/0.1768, allocations: 337.9 kB / 0.4958 GB, free: 7.184 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1771, allocations: 136.7 kB / 0.4959 GB, free: 7.047 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.1772, allocations: 4 kB / 0.4959 GB, free: 7.043 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.1777, allocations: 195.2 kB / 0.4961 GB, free: 6.84 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=30): time 2.645e-06/0.1777, allocations: 0 / 0.4961 GB, free: 6.84 MB / 366.1 MB
Notification: Performance of matching and sorting (n=30): time 0.001861/0.1796, allocations: 0.5727 MB / 0.4967 GB, free: 6.258 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.1796, allocations: 59.39 kB / 0.4967 GB, free: 6.188 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.1809, allocations: 0.9299 MB / 0.4976 GB, free: 5.25 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.181, allocations: 29.7 kB / 0.4977 GB, free: 5.215 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.1813, allocations: 368.4 kB / 0.498 GB, free: 4.852 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.1815, allocations: 99.16 kB / 0.4981 GB, free: 4.754 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1816, allocations: 90.08 kB / 0.4982 GB, free: 4.66 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002276/0.1819, allocations: 382.8 kB / 0.4985 GB, free: 4.277 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.1823, allocations: 136.8 kB / 0.4987 GB, free: 4.141 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.1827, allocations: 207.1 kB / 0.4989 GB, free: 3.914 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008312/0.1835, allocations: 368.2 kB / 0.4992 GB, free: 3.523 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.1835, allocations: 3.938 kB / 0.4992 GB, free: 3.52 MB / 366.1 MB
Notification: Performance of matching and sorting (n=50) (initialization): time 0.001318/0.1849, allocations: 0.5307 MB / 0.4997 GB, free: 2.973 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.1849, allocations: 33.64 kB / 0.4998 GB, free: 2.934 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.1849, allocations: 7.984 kB / 0.4998 GB, free: 2.926 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/0.1852, allocations: 68.69 kB / 0.4999 GB, free: 2.855 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.1856, allocations: 75.89 kB / 0.4999 GB, free: 2.781 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.1877, allocations: 1.708 MB / 0.5016 GB, free: 0.9648 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.1881, allocations: 55.73 kB / 0.5016 GB, free: 0.9102 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.1881, allocations: 12 kB / 0.5017 GB, free: 0.8984 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (44):
 * Single equations (assignments): 42
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,5)}
Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.1886, allocations: 267.2 kB / 0.5019 GB, free: 0.6289 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1887, allocations: 67.58 kB / 0.502 GB, free: 0.5625 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1899, allocations: 441.4 kB / 0.5024 GB, free: 116 kB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1899, allocations: 7.938 kB / 0.5024 GB, free: 108 kB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.1899, allocations: 0 / 0.5024 GB, free: 108 kB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1899, allocations: 0 / 0.5024 GB, free: 108 kB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008583/0.1908, allocations: 0.5586 MB / 0.503 GB, free: 15.5 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1908, allocations: 3.984 kB / 0.503 GB, free: 15.5 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.191, allocations: 39.97 kB / 0.503 GB, free: 15.46 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002368/0.1913, allocations: 60.81 kB / 0.5031 GB, free: 15.4 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.1913, allocations: 4 kB / 0.5031 GB, free: 15.39 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.1933, allocations: 1.715 MB / 0.5047 GB, free: 13.56 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1933, allocations: 3.938 kB / 0.5047 GB, free: 13.56 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1948, allocations: 0.589 MB / 0.5053 GB, free: 12.95 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.195, allocations: 83.55 kB / 0.5054 GB, free: 12.87 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.195, allocations: 8 kB / 0.5054 GB, free: 12.86 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.1953, allocations: 23.97 kB / 0.5054 GB, free: 12.84 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.1954, allocations: 35.88 kB / 0.5055 GB, free: 12.8 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.1954, allocations: 12 kB / 0.5055 GB, free: 12.79 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0009014/0.1963, allocations: 0.6591 MB / 0.5061 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1963, allocations: 0 / 0.5061 GB, free: 12.14 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0006115/0.197, allocations: 135.7 kB / 0.5062 GB, free: 12 MB / 382.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y)
 * Number of discrete variables: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y)
 * Number of discrete states: 1 (powReq.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (25):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,5)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.002425/0.1994, allocations: 0.6059 MB / 0.5068 GB, free: 11.66 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.00133/0.2007, allocations: 0.4939 MB / 0.5073 GB, free: 11.14 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2007, allocations: 4 kB / 0.5073 GB, free: 11.13 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000598/0.2013, allocations: 279.4 kB / 0.5076 GB, free: 10.85 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.2019, allocations: 90.16 kB / 0.5077 GB, free: 10.76 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/0.2047, allocations: 1.413 MB / 0.509 GB, free: 9.316 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.2054, allocations: 0.9557 MB / 0.51 GB, free: 8.336 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.000248/0.2056, allocations: 80.33 kB / 0.5101 GB, free: 8.258 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2057, allocations: 35.44 kB / 0.5101 GB, free: 8.223 MB / 382.1 MB
Notification: Performance of SimCode: time 1.733e-06/0.2057, allocations: 0 / 0.5101 GB, free: 8.223 MB / 382.1 MB
Notification: Performance of Templates: time 0.01571/0.2215, allocations: 7.087 MB / 0.517 GB, free: 1.148 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660]
(rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO  -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.3174506314098835]
Failed to read output from testmodel.py, exit status != 0:
0.46981288958340883 0.48374750199999994 0.313785002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f1a8235d7b0>