Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001299/0.001299, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001513/0.001513, allocations: 191.4 kB / 22.23 MB, free: 5.156 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13 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.04207/0.04207, allocations: 8.546 MB / 314.8 MB, free: 144 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn")
translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003221/0.003221, allocations: 67.88 kB / 438.9 MB, free: 12.15 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1797, allocations: 54.25 MB / 493.2 MB, free: 5.805 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.007405/0.1872, allocations: 3.803 MB / 497 MB, free: 1.984 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002863/0.19, allocations: 1.091 MB / 498.1 MB, free: 0.8906 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000763/0.1908, allocations: 11.94 kB / 498.1 MB, free: 0.8789 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.1915, allocations: 198.9 kB / 498.3 MB, free: 0.6836 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1926, allocations: 234.8 kB / 498.5 MB, free: 464 kB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1939, allocations: 376.6 kB / 498.9 MB, free: 92 kB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001336/0.1952, allocations: 0.6315 MB / 499.5 MB, free: 15.45 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006131/0.1958, allocations: 195.9 kB / 499.7 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005903/0.1964, allocations: 270.9 kB / 500 MB, free: 14.99 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.197, allocations: 314.6 kB / 0.4885 GB, free: 14.68 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.1971, allocations: 56 kB / 0.4886 GB, free: 14.62 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.1975, allocations: 111.9 kB / 0.4887 GB, free: 14.52 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.1978, allocations: 215.3 kB / 0.4889 GB, free: 14.3 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.1982, allocations: 345.9 kB / 0.4892 GB, free: 13.96 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001345/0.1996, allocations: 0.8753 MB / 0.4901 GB, free: 13.09 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1996, allocations: 0 / 0.4901 GB, free: 13.09 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.343e-06/0.1996, allocations: 0 / 0.4901 GB, free: 13.09 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 1.095e-05/0.1996, allocations: 4 kB / 0.4901 GB, free: 13.08 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: 99
 * Number of variables: 99
Notification: Performance of Generate backend data structure: time 0.001982/0.2016, allocations: 1.035 MB / 0.4911 GB, free: 12.01 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.2016, allocations: 12.03 kB / 0.4911 GB, free: 12 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.2018, allocations: 88.38 kB / 0.4912 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.2026, allocations: 0.5223 MB / 0.4917 GB, free: 11.36 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.2026, allocations: 40.92 kB / 0.4918 GB, free: 11.32 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.859e-05/0.2027, allocations: 44 kB / 0.4918 GB, free: 11.28 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.2036, allocations: 427.8 kB / 0.4922 GB, free: 10.84 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.2036, allocations: 8 kB / 0.4922 GB, free: 10.83 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.2037, allocations: 16 kB / 0.4922 GB, free: 10.82 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2037, allocations: 8 kB / 0.4922 GB, free: 10.81 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008405/0.2045, allocations: 315.7 kB / 0.4925 GB, free: 10.5 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.2073, allocations: 1.673 MB / 0.4942 GB, free: 8.758 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009144/0.2082, allocations: 306.8 kB / 0.4945 GB, free: 8.449 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.2086, allocations: 112.8 kB / 0.4946 GB, free: 8.336 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.2086, allocations: 7.984 kB / 0.4946 GB, free: 8.328 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.2091, allocations: 187.1 kB / 0.4948 GB, free: 8.133 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.2091, allocations: 4 kB / 0.4948 GB, free: 8.129 MB / 366.1 MB
Notification: Performance of matching and sorting (n=26): time 0.001782/0.2109, allocations: 0.5172 MB / 0.4953 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.2109, allocations: 59.34 kB / 0.4953 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.2122, allocations: 0.9182 MB / 0.4962 GB, free: 6.605 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.2122, allocations: 33.7 kB / 0.4963 GB, free: 6.566 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.2126, allocations: 360.6 kB / 0.4966 GB, free: 6.207 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.2127, allocations: 87.22 kB / 0.4967 GB, free: 6.121 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.2128, allocations: 78.06 kB / 0.4968 GB, free: 6.035 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002367/0.2131, allocations: 382.7 kB / 0.4971 GB, free: 5.652 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.2135, allocations: 120.7 kB / 0.4972 GB, free: 5.535 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004511/0.2139, allocations: 196 kB / 0.4974 GB, free: 5.32 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.2147, allocations: 341.6 kB / 0.4977 GB, free: 4.953 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2147, allocations: 0 / 0.4977 GB, free: 4.953 MB / 366.1 MB
Notification: Performance of matching and sorting (n=46) (initialization): time 0.001264/0.216, allocations: 0.5055 MB / 0.4982 GB, free: 4.434 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.053e-05/0.2161, allocations: 45.12 kB / 0.4983 GB, free: 4.387 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2161, allocations: 8.156 kB / 0.4983 GB, free: 4.379 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/0.2164, allocations: 56.81 kB / 0.4983 GB, free: 4.32 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.2167, allocations: 75.89 kB / 0.4984 GB, free: 4.246 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.2187, allocations: 1.704 MB / 0.5001 GB, free: 2.434 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.219, allocations: 55.77 kB / 0.5001 GB, free: 2.379 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.2191, allocations: 16 kB / 0.5001 GB, free: 2.363 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: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (40):
 * Single equations (assignments): 38
 * 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.0003843/0.2195, allocations: 264 kB / 0.5004 GB, free: 2.098 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2196, allocations: 67.52 kB / 0.5005 GB, free: 2.031 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.2206, allocations: 404 kB / 0.5009 GB, free: 1.625 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2207, allocations: 7.938 kB / 0.5009 GB, free: 1.617 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.2207, allocations: 0 / 0.5009 GB, free: 1.617 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2207, allocations: 3.984 kB / 0.5009 GB, free: 1.613 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.2214, allocations: 0.5041 MB / 0.5014 GB, free: 1.066 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2214, allocations: 0 / 0.5014 GB, free: 1.066 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2217, allocations: 51.89 kB / 0.5014 GB, free: 1.016 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002247/0.2219, allocations: 60.81 kB / 0.5015 GB, free: 0.9531 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2219, allocations: 4 kB / 0.5015 GB, free: 0.9492 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.2239, allocations: 1.711 MB / 0.5031 GB, free: 15.12 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2239, allocations: 0 / 0.5031 GB, free: 15.12 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.2253, allocations: 0.5441 MB / 0.5037 GB, free: 14.55 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.2255, allocations: 79.59 kB / 0.5037 GB, free: 14.48 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-05/0.2256, allocations: 12 kB / 0.5038 GB, free: 14.46 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.2258, allocations: 19.97 kB / 0.5038 GB, free: 14.45 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.2259, allocations: 35.89 kB / 0.5038 GB, free: 14.41 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2259, allocations: 4 kB / 0.5038 GB, free: 14.41 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.0009205/0.2268, allocations: 0.6552 MB / 0.5045 GB, free: 13.75 MB / 382.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2268, allocations: 0 / 0.5045 GB, free: 13.75 MB / 382.1 MB
Notification: Performance of remove unused functions: time 0.0005792/0.2274, allocations: 131.7 kB / 0.5046 GB, free: 13.62 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: 3 ($whenCondition1,powReq.T_start,powReq.count)
 * Number of discrete states: 1 (powReq.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (21):
 * Single equations (assignments): 18
 * 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.002447/0.2299, allocations: 0.6013 MB / 0.5052 GB, free: 13.28 MB / 382.1 MB
Notification: Performance of simCode: created initialization part: time 0.001344/0.2312, allocations: 470 kB / 0.5056 GB, free: 12.79 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2312, allocations: 4.125 kB / 0.5056 GB, free: 12.79 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005828/0.2318, allocations: 258.5 kB / 0.5059 GB, free: 12.52 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.2324, allocations: 94.92 kB / 0.506 GB, free: 12.43 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.2352, allocations: 1.357 MB / 0.5073 GB, free: 11.05 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.236, allocations: 0.944 MB / 0.5082 GB, free: 10.08 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002371/0.2362, allocations: 72.23 kB / 0.5083 GB, free: 10 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2363, allocations: 35.42 kB / 0.5083 GB, free: 9.969 MB / 382.1 MB
Notification: Performance of SimCode: time 9.32e-07/0.2363, allocations: 0 / 0.5083 GB, free: 9.969 MB / 382.1 MB
Notification: Performance of Templates: time 0.01732/0.2537, allocations: 6.836 MB / 0.515 GB, free: 3.152 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660]
(rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn  -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.195634030736983]
Failed to read output from testmodel.py, exit status != 0:
0.2663272423669696 0.479318486 0.27699914000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8c0a3dd7b0>