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.001244/0.001244, allocations: 100.3 kB / 19.73 MB, free: 2.133 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.001497/0.001497, allocations: 223.1 kB / 23.03 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.04294/0.04294, allocations: 8.547 MB / 321.8 MB, free: 10.4 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.002066/0.002066, allocations: 63.91 kB / 447.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1221, allocations: 55.41 MB / 0.4913 GB, free: 8.105 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006143/0.1283, allocations: 3.591 MB / 0.4948 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1307, allocations: 1.176 MB / 0.4959 GB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.131, allocations: 11.94 kB / 0.4959 GB, free: 3.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.1316, allocations: 202.9 kB / 0.4961 GB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007216/0.1323, allocations: 274.6 kB / 0.4964 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008448/0.1332, allocations: 377.4 kB / 0.4968 GB, free: 2.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008052/0.134, allocations: 0.6432 MB / 0.4974 GB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003983/0.1344, allocations: 203.9 kB / 0.4976 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.1348, allocations: 278.8 kB / 0.4978 GB, free: 1.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/0.1352, allocations: 322.6 kB / 0.4982 GB, free: 1.027 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.578e-05/0.1353, allocations: 56 kB / 0.4982 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.1355, allocations: 112 kB / 0.4983 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.1357, allocations: 215.3 kB / 0.4985 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.136, allocations: 270.3 kB / 0.4988 GB, free: 396 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.1371, allocations: 0.9064 MB / 0.4997 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1371, allocations: 0 / 0.4997 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1371, allocations: 0 / 0.4997 GB, free: 15.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.1371, allocations: 0 / 0.4997 GB, free: 15.48 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.001919/0.139, allocations: 1.058 MB / 0.5007 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1391, allocations: 12.03 kB / 0.5007 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.358e-05/0.1391, allocations: 9.188 kB / 0.5007 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.286e-05/0.1392, allocations: 78.72 kB / 0.5008 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1393, allocations: 96.27 kB / 0.5009 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.1401, allocations: 0.5375 MB / 0.5014 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.1402, allocations: 41 kB / 0.5014 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.1403, allocations: 47.94 kB / 0.5015 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.1411, allocations: 431.8 kB / 0.5019 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1411, allocations: 0 / 0.5019 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.1412, allocations: 19.98 kB / 0.5019 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.1412, allocations: 15.94 kB / 0.5019 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.142, allocations: 315.7 kB / 0.5022 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1445, allocations: 1.556 MB / 0.5038 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.1453, allocations: 306.7 kB / 0.5041 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.1456, allocations: 120.7 kB / 0.5042 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.1457, allocations: 8 kB / 0.5042 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.1461, allocations: 175.2 kB / 0.5043 GB, free: 10.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.245e-06/0.1461, allocations: 0 / 0.5043 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001737/0.1479, allocations: 0.5289 MB / 0.5049 GB, free: 9.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1479, allocations: 59.41 kB / 0.5049 GB, free: 9.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.1492, allocations: 0.9456 MB / 0.5058 GB, free: 8.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.1492, allocations: 33.7 kB / 0.5059 GB, free: 8.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.1495, allocations: 364.6 kB / 0.5062 GB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.84e-05/0.1496, allocations: 87.22 kB / 0.5063 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1498, allocations: 82.02 kB / 0.5064 GB, free: 8.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.15, allocations: 378.8 kB / 0.5067 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.1503, allocations: 150.4 kB / 0.5069 GB, free: 7.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.1507, allocations: 229.5 kB / 0.5071 GB, free: 7.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.1514, allocations: 337.6 kB / 0.5074 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1514, allocations: 0 / 0.5074 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001197/0.1526, allocations: 0.5349 MB / 0.5079 GB, free: 6.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.1527, allocations: 37.69 kB / 0.508 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.1527, allocations: 0 / 0.508 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.153, allocations: 60.81 kB / 0.508 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.1534, allocations: 75.89 kB / 0.5081 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1554, allocations: 1.707 MB / 0.5098 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.1558, allocations: 47.75 kB / 0.5098 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.1558, allocations: 16 kB / 0.5098 GB, free: 4.59 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.0004015/0.1562, allocations: 269.6 kB / 0.5101 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.1563, allocations: 75.59 kB / 0.5102 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.1573, allocations: 401 kB / 0.5106 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1573, allocations: 7.984 kB / 0.5106 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.1573, allocations: 3.938 kB / 0.5106 GB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1573, allocations: 3.984 kB / 0.5106 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.1579, allocations: 468.3 kB / 0.511 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1579, allocations: 7.938 kB / 0.511 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.1581, allocations: 43.91 kB / 0.5111 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.1584, allocations: 60.81 kB / 0.5111 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.1584, allocations: 7.938 kB / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.1602, allocations: 1.699 MB / 0.5128 GB, free: 1.383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1602, allocations: 3.938 kB / 0.5128 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.1615, allocations: 0.5524 MB / 0.5133 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1616, allocations: 83.55 kB / 0.5134 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.1617, allocations: 4 kB / 0.5134 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1619, allocations: 23.97 kB / 0.5134 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-05/0.162, allocations: 27.95 kB / 0.5135 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.162, allocations: 11.98 kB / 0.5135 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.209/0.371, allocations: 0.671 MB / 0.5141 GB, free: 26.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.371, allocations: 0 / 0.5141 GB, free: 26.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008113/0.3718, allocations: 128.8 kB / 0.5143 GB, free: 26.25 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.003922/0.3757, allocations: 1.636 MB / 0.5159 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3769, allocations: 0.4969 MB / 0.5163 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3769, allocations: 0 / 0.5163 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.3774, allocations: 263.8 kB / 0.5166 GB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.378, allocations: 97.92 kB / 0.5167 GB, free: 25.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0086/0.3866, allocations: 6.475 MB / 0.523 GB, free: 23.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.387, allocations: 354.4 kB / 0.5233 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002126/0.3872, allocations: 73.47 kB / 0.5234 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.3874, allocations: 243.8 kB / 0.5236 GB, free: 23.22 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3874, allocations: 0 / 0.5236 GB, free: 23.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06309/0.4505, allocations: 14.26 MB / 0.5376 GB, free: 18.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.34, allocations: 7.469 kB / 0.5376 GB, free: 18.76 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.11159241106361] Failed to read output from testmodel.py, exit status != 0: 14.579437380074523 14.601385451 14.460236712 Calling exit ...