Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001774/0.001774, allocations: 77.55 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.001647/0.001647, allocations: 154.3 kB / 23.01 MB, free: 4.949 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04093/0.04093, allocations: 6.488 MB / 266.3 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001991/0.001991, allocations: 67.91 kB / 392.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 55.4 MB / 448 MB, free: 3.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005842/0.1149, allocations: 3.597 MB / 451.6 MB, free: 15.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1171, allocations: 1.176 MB / 452.8 MB, free: 14.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.1173, allocations: 7.938 kB / 452.8 MB, free: 14.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.1177, allocations: 214.8 kB / 453 MB, free: 14.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.1182, allocations: 278.6 kB / 453.3 MB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.1191, allocations: 375 kB / 453.7 MB, free: 13.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.1198, allocations: 0.6433 MB / 454.3 MB, free: 13.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/0.1202, allocations: 191.7 kB / 454.5 MB, free: 12.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.1206, allocations: 274.8 kB / 454.8 MB, free: 12.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003575/0.1209, allocations: 294.6 kB / 455.1 MB, free: 12.42 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.121, allocations: 56 kB / 455.1 MB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1212, allocations: 119.9 kB / 455.2 MB, free: 12.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.1214, allocations: 215.3 kB / 455.4 MB, free: 12.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.1217, allocations: 262.4 kB / 455.7 MB, free: 11.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.1228, allocations: 0.9065 MB / 456.6 MB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1228, allocations: 0 / 456.6 MB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1228, allocations: 0 / 456.6 MB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1229, allocations: 4 kB / 456.6 MB, free: 10.86 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.001799/0.1247, allocations: 1.043 MB / 457.6 MB, free: 9.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.47e-05/0.1247, allocations: 8.031 kB / 457.7 MB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1248, allocations: 92.33 kB / 457.7 MB, free: 9.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008349/0.1256, allocations: 0.5341 MB / 458.3 MB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.653e-05/0.1257, allocations: 32.94 kB / 458.3 MB, free: 9.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.1257, allocations: 51.92 kB / 458.4 MB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.1266, allocations: 427.9 kB / 458.8 MB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1266, allocations: 3.953 kB / 458.8 MB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.1266, allocations: 19.94 kB / 458.8 MB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1267, allocations: 8 kB / 458.8 MB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.1275, allocations: 319.7 kB / 459.1 MB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.13, allocations: 1.499 MB / 460.6 MB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008761/0.1308, allocations: 294.8 kB / 460.9 MB, free: 6.398 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.1312, allocations: 120.8 kB / 461 MB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.1312, allocations: 4 kB / 461 MB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004366/0.1316, allocations: 195 kB / 461.2 MB, free: 6.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1316, allocations: 0 / 461.2 MB, free: 6.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=26): time 0.001598/0.1332, allocations: 0.5211 MB / 461.7 MB, free: 5.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.1333, allocations: 59.34 kB / 461.8 MB, free: 5.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.1345, allocations: 0.9299 MB / 462.7 MB, free: 4.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.1345, allocations: 29.7 kB / 462.8 MB, free: 4.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.1349, allocations: 364.4 kB / 463.1 MB, free: 4.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/0.135, allocations: 91.34 kB / 463.2 MB, free: 4.043 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.1351, allocations: 70.08 kB / 463.3 MB, free: 3.965 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1353, allocations: 382.8 kB / 463.6 MB, free: 3.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.1357, allocations: 146.4 kB / 463.8 MB, free: 3.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000433/0.1361, allocations: 233.7 kB / 464 MB, free: 3.176 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.1369, allocations: 337.6 kB / 464.3 MB, free: 2.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1369, allocations: 4 kB / 464.3 MB, free: 2.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001165/0.138, allocations: 0.5345 MB / 464.9 MB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.1381, allocations: 41.69 kB / 464.9 MB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1381, allocations: 0 / 464.9 MB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.1383, allocations: 60.81 kB / 465 MB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.1387, allocations: 71.89 kB / 465.1 MB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.1405, allocations: 1.673 MB / 466.7 MB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.1407, allocations: 51.7 kB / 466.8 MB, free: 256 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.1408, allocations: 12 kB / 466.8 MB, free: 244 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.0003689/0.1411, allocations: 265.7 kB / 467 MB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.1413, allocations: 71.52 kB / 467.1 MB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.1424, allocations: 404.1 kB / 467.5 MB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1424, allocations: 0 / 467.5 MB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1424, allocations: 7.984 kB / 467.5 MB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1424, allocations: 3.938 kB / 467.5 MB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.1429, allocations: 412.9 kB / 467.9 MB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1429, allocations: 0 / 467.9 MB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1431, allocations: 43.97 kB / 468 MB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.1433, allocations: 52.81 kB / 468 MB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.1434, allocations: 16.11 kB / 468 MB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.1451, allocations: 1.68 MB / 469.7 MB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1451, allocations: 0 / 469.7 MB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.1464, allocations: 0.549 MB / 470.3 MB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.1466, allocations: 83.55 kB / 470.3 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1466, allocations: 4 kB / 470.4 MB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.1469, allocations: 27.91 kB / 470.4 MB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.1469, allocations: 27.89 kB / 470.4 MB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.147, allocations: 8 kB / 470.4 MB, free: 12.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008287/0.1478, allocations: 0.6591 MB / 471.1 MB, free: 11.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1478, allocations: 4 kB / 471.1 MB, free: 11.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.1483, allocations: 135.7 kB / 471.2 MB, free: 11.64 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.002551/0.1508, allocations: 0.6462 MB / 471.9 MB, free: 11.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1519, allocations: 0.4967 MB / 472.4 MB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1519, allocations: 0 / 472.4 MB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.1525, allocations: 266.6 kB / 472.6 MB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1529, allocations: 86 kB / 472.7 MB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.1551, allocations: 1.36 MB / 474.1 MB, free: 9.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.1555, allocations: 356.8 kB / 474.4 MB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001797/0.1557, allocations: 72.23 kB / 474.5 MB, free: 8.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1558, allocations: 36.5 kB / 474.5 MB, free: 8.531 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1558, allocations: 0 / 474.5 MB, free: 8.531 MB / 446.1 MB Notification: Performance of Templates: time 0.0138/0.1696, allocations: 6.629 MB / 481.1 MB, free: 1.941 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.71030909602996] Failed to read output from testmodel.py, exit status != 0: 0.17932593589648604 0.345719427 0.22021938400000002 Calling exit ...