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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 111.1 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.03987/0.03987, allocations: 8.536 MB / 313.6 MB, free: 416 kB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.83 kB / 437 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09901, allocations: 54.19 MB / 491.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006057/0.1051, allocations: 3.81 MB / 495 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.1073, allocations: 1.095 MB / 496.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.1077, allocations: 19.88 kB / 496.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.1082, allocations: 198.9 kB / 496.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006356/0.1089, allocations: 226.8 kB / 496.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.1097, allocations: 365.8 kB / 496.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1107, allocations: 0.6276 MB / 497.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.1112, allocations: 195.5 kB / 497.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.1116, allocations: 259 kB / 497.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.112, allocations: 310.7 kB / 498.2 MB, free: 28 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.1121, allocations: 56.05 kB / 498.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1124, allocations: 115.9 kB / 498.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.1126, allocations: 219.3 kB / 498.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003365/0.1129, allocations: 346 kB / 498.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.114, allocations: 0.8792 MB / 499.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.114, allocations: 0 / 499.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.114, allocations: 0 / 499.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.114, allocations: 0 / 499.8 MB, free: 14.42 MB / 366.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.002021/0.1161, allocations: 1.126 MB / 0.4892 GB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1161, allocations: 23.81 kB / 0.4892 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.201e-05/0.1162, allocations: 74.72 kB / 0.4893 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1163, allocations: 88.38 kB / 0.4894 GB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.1172, allocations: 0.5825 MB / 0.49 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.1172, allocations: 32.98 kB / 0.49 GB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.109e-05/0.1173, allocations: 51.89 kB / 0.49 GB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008818/0.1182, allocations: 431.9 kB / 0.4904 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.1182, allocations: 4 kB / 0.4904 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.077e-05/0.1183, allocations: 16 kB / 0.4905 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1183, allocations: 8 kB / 0.4905 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.1191, allocations: 315.7 kB / 0.4908 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.1218, allocations: 1.758 MB / 0.4925 GB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008067/0.1226, allocations: 302.8 kB / 0.4928 GB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.1229, allocations: 116.8 kB / 0.4929 GB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.1229, allocations: 11.94 kB / 0.4929 GB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.1233, allocations: 187.8 kB / 0.4931 GB, free: 9.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/0.1233, allocations: 0 / 0.4931 GB, free: 9.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001614/0.125, allocations: 0.5965 MB / 0.4937 GB, free: 8.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.125, allocations: 55.34 kB / 0.4937 GB, free: 8.406 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1262, allocations: 0.926 MB / 0.4946 GB, free: 7.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.1262, allocations: 33.7 kB / 0.4947 GB, free: 7.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003218/0.1265, allocations: 356.5 kB / 0.495 GB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.1266, allocations: 99.23 kB / 0.4951 GB, free: 6.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1268, allocations: 74.06 kB / 0.4952 GB, free: 6.898 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.127, allocations: 382.8 kB / 0.4955 GB, free: 6.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.1273, allocations: 124.7 kB / 0.4956 GB, free: 6.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1277, allocations: 200 kB / 0.4958 GB, free: 6.176 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/0.1284, allocations: 337.6 kB / 0.4962 GB, free: 5.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1284, allocations: 4 kB / 0.4962 GB, free: 5.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001107/0.1295, allocations: 0.5133 MB / 0.4967 GB, free: 5.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.1296, allocations: 33.69 kB / 0.4967 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1296, allocations: 4 kB / 0.4967 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.1299, allocations: 64.75 kB / 0.4968 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.1302, allocations: 76.05 kB / 0.4968 GB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.1321, allocations: 1.799 MB / 0.4986 GB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.1324, allocations: 51.89 kB / 0.4986 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.1324, allocations: 12 kB / 0.4986 GB, free: 3.102 MB / 366.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.0003547/0.1327, allocations: 279.8 kB / 0.4989 GB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-05/0.1328, allocations: 67.58 kB / 0.499 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/0.1338, allocations: 407.9 kB / 0.4994 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1338, allocations: 3.938 kB / 0.4994 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1338, allocations: 4 kB / 0.4994 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1338, allocations: 0 / 0.4994 GB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.1345, allocations: 0.5479 MB / 0.4999 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1345, allocations: 0 / 0.4999 GB, free: 1.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002545/0.1347, allocations: 39.97 kB / 0.4999 GB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.1349, allocations: 56.81 kB / 0.5 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.135, allocations: 8 kB / 0.5 GB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.1369, allocations: 1.811 MB / 0.5018 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1369, allocations: 0 / 0.5018 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.1381, allocations: 0.549 MB / 0.5023 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.1384, allocations: 172.6 kB / 0.5025 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.1384, allocations: 8 kB / 0.5025 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.1386, allocations: 19.97 kB / 0.5025 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.1387, allocations: 23.97 kB / 0.5025 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1387, allocations: 12 kB / 0.5025 GB, free: 14.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008642/0.1396, allocations: 0.663 MB / 0.5032 GB, free: 14.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1396, allocations: 0 / 0.5032 GB, free: 14.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.1401, allocations: 127.7 kB / 0.5033 GB, free: 14.08 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.003862/0.144, allocations: 1.597 MB / 0.5049 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.1451, allocations: 478.3 kB / 0.5053 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1451, allocations: 0 / 0.5053 GB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004939/0.1456, allocations: 262.9 kB / 0.5056 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.1461, allocations: 90.27 kB / 0.5057 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.1554, allocations: 6.331 MB / 0.5118 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.1561, allocations: 0.9362 MB / 0.5128 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.1563, allocations: 72.25 kB / 0.5128 GB, free: 4.375 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/0.1566, allocations: 239.3 kB / 0.5131 GB, free: 4.141 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1566, allocations: 0 / 0.5131 GB, free: 4.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/0.3859, allocations: 13.71 MB / 0.5264 GB, free: 35.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.02, allocations: 5.234 kB / 0.5265 GB, free: 35.21 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.548760149162263] Failed to read output from testmodel.py, exit status != 0: 13.167117336997762 13.182691617 13.065776457 Calling exit ...