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.001972/0.001972, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.002056/0.002056, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.39/1.39, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.04113/0.04113, allocations: 8.548 MB / 311.2 MB, free: 1.379 MB / 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.001844/0.001844, allocations: 63.89 kB / 433.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09534/0.09718, allocations: 54.19 MB / 487.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005687/0.1029, allocations: 3.783 MB / 491.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1049, allocations: 1.079 MB / 492.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.1052, allocations: 15.94 kB / 492.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.1057, allocations: 198.9 kB / 492.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.1063, allocations: 226.8 kB / 492.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.1071, allocations: 376.5 kB / 493.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007508/0.1079, allocations: 0.6276 MB / 493.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000394/0.1083, allocations: 199.5 kB / 493.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.1086, allocations: 254.9 kB / 494.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.109, allocations: 318.6 kB / 494.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.127e-05/0.1091, allocations: 60 kB / 494.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.1093, allocations: 108 kB / 494.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.1095, allocations: 219.3 kB / 494.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.1098, allocations: 345.9 kB / 495.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1108, allocations: 0.8792 MB / 496.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1108, allocations: 0 / 496.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1108, allocations: 0 / 496.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1108, allocations: 4 kB / 496.1 MB, free: 15.57 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.001876/0.1127, allocations: 1.114 MB / 497.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.1127, allocations: 15.89 kB / 497.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.715e-05/0.1128, allocations: 82.64 kB / 497.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.113, allocations: 88.38 kB / 497.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008183/0.1138, allocations: 0.5902 MB / 497.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.1138, allocations: 29 kB / 498 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.1139, allocations: 51.95 kB / 498 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.1147, allocations: 435.8 kB / 498.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.1147, allocations: 7.938 kB / 498.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1148, allocations: 16 kB / 498.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1148, allocations: 8 kB / 498.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.1155, allocations: 311.7 kB / 498.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.118, allocations: 1.762 MB / 0.4888 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007873/0.1188, allocations: 299.7 kB / 0.4891 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.1191, allocations: 120.8 kB / 0.4892 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1192, allocations: 7.938 kB / 0.4892 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.1196, allocations: 187.1 kB / 0.4894 GB, free: 10.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.1196, allocations: 0 / 0.4894 GB, free: 10.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001648/0.1213, allocations: 0.5964 MB / 0.49 GB, free: 9.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.1213, allocations: 59.33 kB / 0.49 GB, free: 9.562 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1225, allocations: 0.926 MB / 0.4909 GB, free: 8.629 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.1225, allocations: 33.7 kB / 0.491 GB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.1229, allocations: 356.6 kB / 0.4913 GB, free: 8.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.123, allocations: 95.17 kB / 0.4914 GB, free: 8.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1231, allocations: 74.08 kB / 0.4915 GB, free: 8.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.1233, allocations: 382.8 kB / 0.4918 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/0.1236, allocations: 120.7 kB / 0.492 GB, free: 7.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.124, allocations: 200 kB / 0.4922 GB, free: 7.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.1247, allocations: 333.6 kB / 0.4925 GB, free: 6.984 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1247, allocations: 4 kB / 0.4925 GB, free: 6.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001112/0.1258, allocations: 0.5133 MB / 0.493 GB, free: 6.453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/0.1259, allocations: 37.7 kB / 0.493 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1259, allocations: 0 / 0.493 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002887/0.1261, allocations: 61.03 kB / 0.4931 GB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.1264, allocations: 75.83 kB / 0.4931 GB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1284, allocations: 1.814 MB / 0.4949 GB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.1287, allocations: 51.7 kB / 0.495 GB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1287, allocations: 19.94 kB / 0.495 GB, free: 4.254 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.0003616/0.1291, allocations: 266.2 kB / 0.4952 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.1292, allocations: 67.56 kB / 0.4953 GB, free: 3.918 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000947/0.1301, allocations: 396.9 kB / 0.4957 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1302, allocations: 7.938 kB / 0.4957 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.1302, allocations: 0 / 0.4957 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.1302, allocations: 7.984 kB / 0.4957 GB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005923/0.1308, allocations: 0.5362 MB / 0.4962 GB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1308, allocations: 0 / 0.4962 GB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.131, allocations: 47.89 kB / 0.4963 GB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.1312, allocations: 64.75 kB / 0.4963 GB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.1312, allocations: 8 kB / 0.4963 GB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.133, allocations: 1.803 MB / 0.4981 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.133, allocations: 0 / 0.4981 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1342, allocations: 0.556 MB / 0.4986 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.1345, allocations: 160.6 kB / 0.4988 GB, free: 100 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.1345, allocations: 11.98 kB / 0.4988 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1347, allocations: 15.98 kB / 0.4988 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.1348, allocations: 31.95 kB / 0.4988 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1348, allocations: 8 kB / 0.4989 GB, free: 32 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008357/0.1357, allocations: 0.663 MB / 0.4995 GB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1357, allocations: 0 / 0.4995 GB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.1362, allocations: 127.7 kB / 0.4996 GB, free: 15.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.003612/0.1398, allocations: 1.595 MB / 0.5012 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1408, allocations: 470.3 kB / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1408, allocations: 0 / 0.5016 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.1413, allocations: 270.9 kB / 0.5019 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.1418, allocations: 90.67 kB / 0.502 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/0.151, allocations: 6.323 MB / 0.5081 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.1516, allocations: 0.9401 MB / 0.5091 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.1518, allocations: 72.25 kB / 0.5091 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.1521, allocations: 235.4 kB / 0.5094 GB, free: 5.316 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1521, allocations: 0 / 0.5094 GB, free: 5.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2473/0.3994, allocations: 13.7 MB / 0.5227 GB, free: 34.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.32, allocations: 8.656 kB / 0.5228 GB, free: 34.94 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: 17.152483561076224] Failed to read output from testmodel.py, exit status != 0: 13.471270718146116 13.491322051 13.376570738 Calling exit ...