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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001471/0.001471, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.06941/0.06941, allocations: 8.55 MB / 321 MB, free: 10.41 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",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.002274/0.002274, allocations: 71.89 kB / 446.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1017, allocations: 55.42 MB / 0.4905 GB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006587/0.1083, allocations: 3.599 MB / 0.494 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1108, allocations: 1.168 MB / 0.4952 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.1112, allocations: 15.94 kB / 0.4952 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005773/0.1118, allocations: 206.9 kB / 0.4954 GB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008269/0.1126, allocations: 278.6 kB / 0.4956 GB, free: 2.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.1135, allocations: 369.4 kB / 0.496 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007968/0.1143, allocations: 0.651 MB / 0.4966 GB, free: 1.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.1147, allocations: 187.9 kB / 0.4968 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.1151, allocations: 274.9 kB / 0.4971 GB, free: 1.371 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.1155, allocations: 290.6 kB / 0.4974 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.44e-05/0.1156, allocations: 59.98 kB / 0.4974 GB, free: 1.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.1158, allocations: 119.9 kB / 0.4975 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.1161, allocations: 223.2 kB / 0.4977 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.1164, allocations: 258.4 kB / 0.498 GB, free: 448 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1174, allocations: 0.9103 MB / 0.4989 GB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1174, allocations: 0 / 0.4989 GB, free: 15.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1174, allocations: 7.875 kB / 0.4989 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1174, allocations: 0 / 0.4989 GB, free: 15.52 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.001897/0.1193, allocations: 1.054 MB / 0.4999 GB, free: 14.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1194, allocations: 8.031 kB / 0.4999 GB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.818e-05/0.1195, allocations: 74.72 kB / 0.5 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1196, allocations: 96.31 kB / 0.5001 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.1205, allocations: 0.5338 MB / 0.5006 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.1205, allocations: 37 kB / 0.5006 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.1206, allocations: 43.95 kB / 0.5007 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008412/0.1215, allocations: 439.8 kB / 0.5011 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1215, allocations: 0 / 0.5011 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.1215, allocations: 16 kB / 0.5011 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.1215, allocations: 12 kB / 0.5011 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007925/0.1223, allocations: 307.7 kB / 0.5014 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.125, allocations: 1.56 MB / 0.5029 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.1258, allocations: 314.7 kB / 0.5032 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.1261, allocations: 112.8 kB / 0.5034 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.1262, allocations: 11.92 kB / 0.5034 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.1266, allocations: 183.2 kB / 0.5035 GB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.1266, allocations: 0 / 0.5035 GB, free: 10.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001623/0.1283, allocations: 0.525 MB / 0.504 GB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1283, allocations: 59.34 kB / 0.5041 GB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.1295, allocations: 0.9417 MB / 0.505 GB, free: 9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.1296, allocations: 37.7 kB / 0.5051 GB, free: 8.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.1299, allocations: 364.5 kB / 0.5054 GB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.307e-05/0.13, allocations: 91.28 kB / 0.5055 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.1302, allocations: 78.03 kB / 0.5056 GB, free: 8.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.1304, allocations: 382.8 kB / 0.5059 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.1308, allocations: 146.4 kB / 0.5061 GB, free: 7.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.1312, allocations: 229.4 kB / 0.5063 GB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.132, allocations: 337.6 kB / 0.5066 GB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.132, allocations: 0 / 0.5066 GB, free: 7.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001153/0.1332, allocations: 0.5387 MB / 0.5071 GB, free: 6.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.1332, allocations: 33.7 kB / 0.5072 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1332, allocations: 4.219 kB / 0.5072 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002743/0.1335, allocations: 60.81 kB / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.1338, allocations: 71.89 kB / 0.5073 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.1357, allocations: 1.707 MB / 0.509 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.136, allocations: 51.7 kB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.136, allocations: 19.94 kB / 0.509 GB, free: 4.648 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.0003334/0.1363, allocations: 266.5 kB / 0.5093 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.161e-05/0.1364, allocations: 71.58 kB / 0.5094 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009646/0.1374, allocations: 408.2 kB / 0.5098 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1374, allocations: 7.938 kB / 0.5098 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1374, allocations: 0 / 0.5098 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1374, allocations: 0 / 0.5098 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000608/0.138, allocations: 472.3 kB / 0.5102 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.138, allocations: 0 / 0.5102 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.1382, allocations: 39.97 kB / 0.5102 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002609/0.1385, allocations: 65 kB / 0.5103 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.1385, allocations: 11.98 kB / 0.5103 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.1402, allocations: 1.699 MB / 0.512 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.1402, allocations: 3.984 kB / 0.512 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.1415, allocations: 0.5445 MB / 0.5125 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1417, allocations: 95.55 kB / 0.5126 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.1417, allocations: 8.062 kB / 0.5126 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.1419, allocations: 23.97 kB / 0.5126 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.142, allocations: 23.95 kB / 0.5127 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.142, allocations: 12 kB / 0.5127 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008533/0.1429, allocations: 0.6747 MB / 0.5133 GB, free: 52 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1429, allocations: 4 kB / 0.5133 GB, free: 48 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1933/0.3361, allocations: 124.7 kB / 0.5135 GB, free: 26.61 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.003675/0.3398, allocations: 1.632 MB / 0.515 GB, free: 25.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009153/0.3407, allocations: 0.4971 MB / 0.5155 GB, free: 25.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3407, allocations: 3.812 kB / 0.5155 GB, free: 25.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.3411, allocations: 267.9 kB / 0.5158 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3416, allocations: 86.12 kB / 0.5159 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007458/0.3491, allocations: 6.479 MB / 0.5222 GB, free: 23.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3495, allocations: 350.3 kB / 0.5225 GB, free: 23.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.3497, allocations: 82.91 kB / 0.5226 GB, free: 23.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.35, allocations: 242.1 kB / 0.5228 GB, free: 23.55 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.35, allocations: 0 / 0.5228 GB, free: 23.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.3998, allocations: 14.59 MB / 0.5371 GB, free: 18.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.31, allocations: 1.562 kB / 0.5371 GB, free: 18.68 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.00688759703189] Failed to read output from testmodel.py, exit status != 0: 13.490517799276859 13.501843274 13.382152345 Calling exit ...