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.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.001811/0.001811, allocations: 110.1 kB / 16.41 MB, free: 6.504 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.001946/0.001947, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.35/1.35, allocations: 222.9 MB / 245.1 MB, free: 15 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.04073/0.04073, allocations: 8.404 MB / 305.6 MB, free: 4.285 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/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_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: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 79.88 kB / 422 MB, free: 21.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09418, allocations: 51.36 MB / 473.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005815/0.1, allocations: 3.75 MB / 477.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.1022, allocations: 1.079 MB / 478.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002568/0.1024, allocations: 11.94 kB / 478.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.103, allocations: 194.9 kB / 478.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.1035, allocations: 214.8 kB / 478.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.1044, allocations: 376.3 kB / 479 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008017/0.1052, allocations: 0.6277 MB / 479.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.1057, allocations: 271.4 kB / 479.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003441/0.106, allocations: 258.9 kB / 480.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003656/0.1064, allocations: 298.7 kB / 480.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.485e-05/0.1065, allocations: 59.94 kB / 480.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1067, allocations: 116 kB / 480.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.107, allocations: 215.3 kB / 480.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.1073, allocations: 349.9 kB / 481.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.1084, allocations: 0.8715 MB / 482 MB, free: 8.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1084, allocations: 3.938 kB / 482 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1084, allocations: 4 kB / 482 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1084, allocations: 7.984 kB / 482 MB, free: 8.926 MB / 350.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.001899/0.1103, allocations: 1.11 MB / 483.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1104, allocations: 15.89 kB / 483.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.346e-05/0.1105, allocations: 74.72 kB / 483.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.1106, allocations: 92.38 kB / 483.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.1114, allocations: 0.5941 MB / 483.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.1115, allocations: 33 kB / 484 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.212e-05/0.1116, allocations: 43.95 kB / 484 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/0.1124, allocations: 435.8 kB / 484.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.1125, allocations: 11.94 kB / 484.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.1125, allocations: 16 kB / 484.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.1125, allocations: 8 kB / 484.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1134, allocations: 311.7 kB / 484.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.116, allocations: 1.754 MB / 486.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.1168, allocations: 322.7 kB / 486.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.1172, allocations: 120.8 kB / 486.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.1172, allocations: 7.938 kB / 487 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.1177, allocations: 188 kB / 487.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.1177, allocations: 0 / 487.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001731/0.1195, allocations: 0.5926 MB / 487.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/0.1195, allocations: 59.34 kB / 487.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1207, allocations: 0.9338 MB / 488.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1208, allocations: 37.64 kB / 488.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.1212, allocations: 352.6 kB / 489.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1213, allocations: 99.17 kB / 489.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.1214, allocations: 70.06 kB / 489.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.1217, allocations: 378.8 kB / 489.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.122, allocations: 124.7 kB / 489.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.1225, allocations: 192 kB / 489.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.1232, allocations: 341.6 kB / 490.3 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1232, allocations: 4 kB / 490.3 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001136/0.1244, allocations: 0.5174 MB / 490.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.1244, allocations: 40.77 kB / 490.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1244, allocations: 4 kB / 490.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002962/0.1247, allocations: 60.81 kB / 490.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.125, allocations: 67.89 kB / 491 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.1271, allocations: 1.826 MB / 492.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.1274, allocations: 43.72 kB / 492.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.1274, allocations: 12 kB / 492.9 MB, free: 13.59 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.0003456/0.1278, allocations: 270.2 kB / 493.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.1279, allocations: 63.58 kB / 493.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009878/0.1288, allocations: 400.1 kB / 493.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1289, allocations: 7.938 kB / 493.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1289, allocations: 0 / 493.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1289, allocations: 0 / 493.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006373/0.1295, allocations: 0.5401 MB / 494.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1295, allocations: 0 / 494.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.1298, allocations: 55.89 kB / 494.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002018/0.13, allocations: 56.81 kB / 494.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.13, allocations: 7.938 kB / 494.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.1319, allocations: 1.811 MB / 496 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1319, allocations: 3.984 kB / 496 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1332, allocations: 0.5529 MB / 496.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.1334, allocations: 172.6 kB / 496.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.1335, allocations: 4 kB / 496.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1337, allocations: 23.97 kB / 496.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.1338, allocations: 27.95 kB / 496.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1338, allocations: 4 kB / 496.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000841/0.1347, allocations: 0.663 MB / 497.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1347, allocations: 0 / 497.5 MB, free: 8.699 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005211/0.1352, allocations: 127.7 kB / 497.6 MB, free: 8.574 MB / 366.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.003735/0.139, allocations: 1.591 MB / 499.2 MB, free: 7.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.1401, allocations: 494.6 kB / 499.7 MB, free: 6.727 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1401, allocations: 3.938 kB / 499.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.1407, allocations: 270.5 kB / 500 MB, free: 6.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1412, allocations: 90.62 kB / 0.4883 GB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009587/0.1508, allocations: 6.32 MB / 0.4945 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/0.1515, allocations: 0.944 MB / 0.4954 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.1518, allocations: 76.22 kB / 0.4955 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.1521, allocations: 231.4 kB / 0.4957 GB, free: 14.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.836e-06/0.1521, allocations: 4 kB / 0.4957 GB, free: 14.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.1965, allocations: 13.61 MB / 0.509 GB, free: 1.102 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.18, allocations: 12.22 kB / 0.509 GB, free: 1.094 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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: 14.936757543007843] Failed to read output from testmodel.py, exit status != 0: 12.496443617972545 12.509482305 12.398936918 Calling exit ...