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.001316/0.001316, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001604/0.001604, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.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.04215/0.04215, allocations: 8.546 MB / 321.8 MB, free: 10.61 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",version="2.0",platforms={"static"}) [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.002336/0.002336, allocations: 63.91 kB / 447.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 55.41 MB / 0.4913 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00655/0.1208, allocations: 3.894 MB / 0.4952 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.1238, allocations: 1.238 MB / 0.4964 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000461/0.1243, allocations: 11.94 kB / 0.4964 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.1249, allocations: 202.9 kB / 0.4966 GB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.1259, allocations: 274.6 kB / 0.4968 GB, free: 2.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.1271, allocations: 378.2 kB / 0.4972 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.1281, allocations: 0.6433 MB / 0.4978 GB, free: 1.777 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.1286, allocations: 207.8 kB / 0.498 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.1292, allocations: 271 kB / 0.4983 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.1297, allocations: 322.5 kB / 0.4986 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.1299, allocations: 60 kB / 0.4986 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1302, allocations: 112 kB / 0.4987 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.1305, allocations: 215.3 kB / 0.499 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004725/0.131, allocations: 357.8 kB / 0.4993 GB, free: 260 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.1325, allocations: 0.8948 MB / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1326, allocations: 0 / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1326, allocations: 0 / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.133e-05/0.1326, allocations: 3.938 kB / 0.5002 GB, free: 15.35 MB / 382.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.002645/0.1352, allocations: 1.062 MB / 0.5012 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1353, allocations: 8.031 kB / 0.5012 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.87e-05/0.1353, allocations: 17.19 kB / 0.5012 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.1354, allocations: 78.72 kB / 0.5013 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.1356, allocations: 92.33 kB / 0.5014 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.1366, allocations: 0.5414 MB / 0.5019 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.1367, allocations: 33 kB / 0.502 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.1367, allocations: 43.95 kB / 0.502 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.1377, allocations: 431.8 kB / 0.5024 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1377, allocations: 4 kB / 0.5024 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.1378, allocations: 19.94 kB / 0.5024 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.1378, allocations: 12 kB / 0.5024 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000823/0.1386, allocations: 307.8 kB / 0.5027 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.1417, allocations: 1.693 MB / 0.5044 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.1425, allocations: 306.7 kB / 0.5047 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1429, allocations: 124.7 kB / 0.5048 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.1429, allocations: 0 / 0.5048 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005081/0.1434, allocations: 179.2 kB / 0.505 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.913e-06/0.1434, allocations: 3.938 kB / 0.505 GB, free: 10.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001864/0.1453, allocations: 0.5328 MB / 0.5055 GB, free: 9.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.1454, allocations: 55.41 kB / 0.5055 GB, free: 9.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.1469, allocations: 0.9457 MB / 0.5065 GB, free: 8.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.147, allocations: 29.7 kB / 0.5065 GB, free: 8.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.1474, allocations: 364.5 kB / 0.5068 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.1475, allocations: 95.2 kB / 0.5069 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.1477, allocations: 78.02 kB / 0.507 GB, free: 8.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.1479, allocations: 378.8 kB / 0.5074 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1483, allocations: 124.6 kB / 0.5075 GB, free: 7.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.1487, allocations: 199.8 kB / 0.5077 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007604/0.1495, allocations: 341.6 kB / 0.508 GB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1495, allocations: 0 / 0.508 GB, free: 7.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001266/0.1508, allocations: 0.5058 MB / 0.5085 GB, free: 6.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.1508, allocations: 33.7 kB / 0.5085 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.1508, allocations: 4 kB / 0.5085 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/0.1511, allocations: 61.03 kB / 0.5086 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.1514, allocations: 71.89 kB / 0.5087 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1535, allocations: 1.711 MB / 0.5103 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.1538, allocations: 47.75 kB / 0.5104 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.1539, allocations: 23.94 kB / 0.5104 GB, free: 4.426 MB / 382.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.0003857/0.1543, allocations: 269.6 kB / 0.5107 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1544, allocations: 67.53 kB / 0.5107 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.1554, allocations: 409 kB / 0.5111 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1554, allocations: 4 kB / 0.5111 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1554, allocations: 0 / 0.5111 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1554, allocations: 0 / 0.5111 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.1561, allocations: 0.5236 MB / 0.5116 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1561, allocations: 0 / 0.5116 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.1564, allocations: 43.97 kB / 0.5117 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.1566, allocations: 60.75 kB / 0.5117 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.1566, allocations: 11.94 kB / 0.5117 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.1585, allocations: 1.715 MB / 0.5134 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1585, allocations: 7.922 kB / 0.5134 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1599, allocations: 0.5407 MB / 0.514 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.1601, allocations: 91.53 kB / 0.514 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.1601, allocations: 7.938 kB / 0.514 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.1604, allocations: 23.97 kB / 0.5141 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.1605, allocations: 27.95 kB / 0.5141 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1605, allocations: 4 kB / 0.5141 GB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2221/0.3826, allocations: 0.6787 MB / 0.5148 GB, free: 26.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3826, allocations: 0 / 0.5148 GB, free: 26.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007878/0.3834, allocations: 126.4 kB / 0.5149 GB, free: 26.32 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.004007/0.3874, allocations: 1.586 MB / 0.5164 GB, free: 25.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.3885, allocations: 483.8 kB / 0.5169 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3885, allocations: 0 / 0.5169 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.389, allocations: 260.3 kB / 0.5171 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006877/0.3897, allocations: 101.5 kB / 0.5172 GB, free: 25.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009992/0.3997, allocations: 6.363 MB / 0.5235 GB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.4003, allocations: 0.9554 MB / 0.5244 GB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.4005, allocations: 73.38 kB / 0.5245 GB, free: 22.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.4009, allocations: 240.6 kB / 0.5247 GB, free: 22.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4009, allocations: 2.188 kB / 0.5247 GB, free: 22.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.4647, allocations: 14.16 MB / 0.5385 GB, free: 18.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/13.95, allocations: 5.344 kB / 0.5385 GB, free: 18.45 MB / 382.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.766510913032107] Failed to read output from testmodel.py, exit status != 0: 14.192404596018605 14.213204598 14.07661125 Calling exit ...