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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 79.03 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 157.2 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04056/0.04056, allocations: 6.483 MB / 266.3 MB, free: 10.24 MB / 254.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 67.91 kB / 392.6 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09989/0.1022, allocations: 55.39 MB / 448 MB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006136/0.1084, allocations: 3.609 MB / 451.6 MB, free: 15.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1108, allocations: 1.176 MB / 452.8 MB, free: 14.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000335/0.1111, allocations: 15.94 kB / 452.8 MB, free: 14.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1117, allocations: 198.9 kB / 453 MB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000767/0.1124, allocations: 274.6 kB / 453.3 MB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008919/0.1133, allocations: 382.7 kB / 453.7 MB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.1143, allocations: 0.6433 MB / 454.3 MB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004204/0.1147, allocations: 187.7 kB / 454.5 MB, free: 13.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.1152, allocations: 274.8 kB / 454.7 MB, free: 12.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.1156, allocations: 294.6 kB / 455 MB, free: 12.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.1157, allocations: 56 kB / 455.1 MB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.1159, allocations: 123.9 kB / 455.2 MB, free: 12.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.1161, allocations: 207.3 kB / 455.4 MB, free: 12.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.1164, allocations: 270.3 kB / 455.7 MB, free: 11.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1174, allocations: 0.9026 MB / 456.6 MB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1174, allocations: 0 / 456.6 MB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1174, allocations: 0 / 456.6 MB, free: 10.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.1174, allocations: 0 / 456.6 MB, free: 10.9 MB / 430.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.001787/0.1192, allocations: 1.051 MB / 457.6 MB, free: 9.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1192, allocations: 12.03 kB / 457.6 MB, free: 9.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1194, allocations: 92.33 kB / 457.7 MB, free: 9.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.1202, allocations: 0.5301 MB / 458.3 MB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.1202, allocations: 36.94 kB / 458.3 MB, free: 9.113 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-05/0.1203, allocations: 44 kB / 458.3 MB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.1212, allocations: 435.8 kB / 458.8 MB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.1212, allocations: 7.953 kB / 458.8 MB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.1212, allocations: 19.94 kB / 458.8 MB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.1212, allocations: 8 kB / 458.8 MB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.122, allocations: 307.7 kB / 459.1 MB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.1246, allocations: 1.499 MB / 460.6 MB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008547/0.1255, allocations: 306.5 kB / 460.9 MB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.1258, allocations: 112.8 kB / 461 MB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.1258, allocations: 4 kB / 461 MB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/0.1263, allocations: 191 kB / 461.2 MB, free: 6.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.973e-06/0.1263, allocations: 7.938 kB / 461.2 MB, free: 6.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.001666/0.128, allocations: 0.5211 MB / 461.7 MB, free: 5.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.128, allocations: 55.41 kB / 461.8 MB, free: 5.504 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.1293, allocations: 0.926 MB / 462.7 MB, free: 4.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1293, allocations: 29.7 kB / 462.7 MB, free: 4.531 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.1296, allocations: 368.5 kB / 463.1 MB, free: 4.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.1297, allocations: 91.28 kB / 463.2 MB, free: 4.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.1299, allocations: 74.06 kB / 463.3 MB, free: 3.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1301, allocations: 378.8 kB / 463.6 MB, free: 3.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.1305, allocations: 158.4 kB / 463.8 MB, free: 3.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004125/0.1309, allocations: 213.7 kB / 464 MB, free: 3.219 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.1316, allocations: 345.6 kB / 464.3 MB, free: 2.848 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1316, allocations: 0 / 464.3 MB, free: 2.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001193/0.1328, allocations: 0.5384 MB / 464.9 MB, free: 2.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.1329, allocations: 33.7 kB / 464.9 MB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1329, allocations: 0 / 464.9 MB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/0.1332, allocations: 72.97 kB / 465 MB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.1335, allocations: 67.89 kB / 465 MB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.1354, allocations: 1.684 MB / 466.7 MB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1357, allocations: 51.69 kB / 466.8 MB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.1357, allocations: 16 kB / 466.8 MB, free: 264 kB / 430.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.0003483/0.1361, allocations: 262.1 kB / 467 MB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.1362, allocations: 67.52 kB / 467.1 MB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.1372, allocations: 400.2 kB / 467.5 MB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1372, allocations: 4 kB / 467.5 MB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1372, allocations: 0 / 467.5 MB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1372, allocations: 3.938 kB / 467.5 MB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.1377, allocations: 401 kB / 467.9 MB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.1377, allocations: 3.984 kB / 467.9 MB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.138, allocations: 47.91 kB / 468 MB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.1382, allocations: 56.81 kB / 468 MB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.1382, allocations: 12.12 kB / 468 MB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/0.1402, allocations: 1.68 MB / 469.7 MB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1402, allocations: 64 / 469.7 MB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/0.1415, allocations: 0.5412 MB / 470.2 MB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1416, allocations: 87.53 kB / 470.3 MB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.1417, allocations: 7.938 kB / 470.3 MB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1419, allocations: 27.92 kB / 470.4 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.354e-05/0.142, allocations: 27.94 kB / 470.4 MB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.142, allocations: 15.94 kB / 470.4 MB, free: 12.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008614/0.1429, allocations: 0.663 MB / 471.1 MB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1429, allocations: 0 / 471.1 MB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.1434, allocations: 127.7 kB / 471.2 MB, free: 11.68 MB / 446.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.002643/0.1461, allocations: 0.6557 MB / 471.8 MB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.1474, allocations: 0.4888 MB / 472.3 MB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1474, allocations: 0 / 472.3 MB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005782/0.148, allocations: 266.9 kB / 472.6 MB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.1485, allocations: 88.48 kB / 472.7 MB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.151, allocations: 1.356 MB / 474 MB, free: 9.035 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.1515, allocations: 361.8 kB / 474.4 MB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.1517, allocations: 68.25 kB / 474.5 MB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.1518, allocations: 40.48 kB / 474.5 MB, free: 8.551 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1518, allocations: 0 / 474.5 MB, free: 8.551 MB / 446.1 MB Notification: Performance of Templates: time 0.01486/0.1667, allocations: 6.635 MB / 481.1 MB, free: 1.961 MB / 446.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 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.670037300908007] Failed to read output from testmodel.py, exit status != 0: 0.1752653269795701 0.34624234699999995 0.22591714799999996 Calling exit ...