Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001262/0.001262, allocations: 105.9 kB / 16.4 MB, free: 6.496 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.001267/0.001267, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.354/1.354, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.04015/0.04015, allocations: 8.4 MB / 305.6 MB, free: 4.305 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.91 kB / 422 MB, free: 21.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09538, allocations: 51.37 MB / 473.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006046/0.1015, allocations: 3.836 MB / 477.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1044, allocations: 1.709 MB / 478.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.1047, allocations: 11.94 kB / 478.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.1053, allocations: 206.8 kB / 479.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.1058, allocations: 230.7 kB / 479.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.1066, allocations: 374.7 kB / 479.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.1074, allocations: 0.6511 MB / 480.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.1079, allocations: 329.2 kB / 480.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.1083, allocations: 274.8 kB / 481 MB, free: 10 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004417/0.1087, allocations: 330.6 kB / 481.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/0.1088, allocations: 60 kB / 481.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.109, allocations: 116 kB / 481.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.1093, allocations: 231.2 kB / 481.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.1096, allocations: 369.8 kB / 482.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1107, allocations: 0.9337 MB / 483 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1107, allocations: 0 / 483 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1107, allocations: 0 / 483 MB, free: 7.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1107, allocations: 0 / 483 MB, free: 7.977 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001958/0.1127, allocations: 1.165 MB / 484.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1128, allocations: 15.89 kB / 484.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.1129, allocations: 82.7 kB / 484.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.113, allocations: 96.33 kB / 484.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008477/0.1139, allocations: 0.6097 MB / 485 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/0.1139, allocations: 37 kB / 485 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.114, allocations: 48 kB / 485 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009586/0.115, allocations: 483.8 kB / 485.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.115, allocations: 4 kB / 485.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.191e-05/0.1151, allocations: 20 kB / 485.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.1151, allocations: 15.98 kB / 485.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.116, allocations: 351.7 kB / 485.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002704/0.1187, allocations: 1.863 MB / 487.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.1196, allocations: 350.7 kB / 488.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.12, allocations: 144.8 kB / 488.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.12, allocations: 8 kB / 488.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004666/0.1205, allocations: 191.3 kB / 488.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.894e-06/0.1205, allocations: 0 / 488.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001773/0.1223, allocations: 0.6433 MB / 489.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1224, allocations: 63.34 kB / 489.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.1235, allocations: 0.9416 MB / 490.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.1236, allocations: 29.7 kB / 490.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.1239, allocations: 372.5 kB / 490.5 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.8e-05/0.124, allocations: 99.12 kB / 490.6 MB, free: 116 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1241, allocations: 86.06 kB / 490.7 MB, free: 24 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.1244, allocations: 382.8 kB / 491 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.1248, allocations: 144.7 kB / 491.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.1252, allocations: 203.1 kB / 491.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.1261, allocations: 372.2 kB / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1261, allocations: 0 / 491.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001189/0.1273, allocations: 0.5307 MB / 492.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.1273, allocations: 40.05 kB / 492.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1274, allocations: 7.938 kB / 492.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002807/0.1276, allocations: 56.81 kB / 492.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/0.128, allocations: 79.98 kB / 492.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.13, allocations: 1.818 MB / 494.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.1303, allocations: 47.75 kB / 494.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.1303, allocations: 16 kB / 494.3 MB, free: 12.12 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.000399/0.1307, allocations: 275.1 kB / 494.6 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.1309, allocations: 67.53 kB / 494.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.132, allocations: 438.1 kB / 495.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.132, allocations: 8 kB / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.132, allocations: 0 / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.132, allocations: 3.984 kB / 495.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1327, allocations: 0.5752 MB / 495.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1327, allocations: 0 / 495.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/0.133, allocations: 47.89 kB / 495.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002092/0.1332, allocations: 60.81 kB / 495.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.1332, allocations: 4.188 kB / 495.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.1351, allocations: 1.822 MB / 497.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1351, allocations: 0 / 497.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.1365, allocations: 0.5921 MB / 498.2 MB, free: 8.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.1367, allocations: 164.6 kB / 498.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.737e-05/0.1368, allocations: 4 kB / 498.4 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.137, allocations: 27.91 kB / 498.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1371, allocations: 35.95 kB / 498.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.1372, allocations: 11.94 kB / 498.4 MB, free: 7.754 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008461/0.138, allocations: 0.6669 MB / 499.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.138, allocations: 0 / 499.1 MB, free: 7.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005427/0.1386, allocations: 143.6 kB / 499.3 MB, free: 6.953 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.003896/0.1425, allocations: 1.637 MB / 0.4891 GB, free: 5.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.1437, allocations: 0.5181 MB / 0.4897 GB, free: 5.031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1437, allocations: 4.125 kB / 0.4897 GB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.1443, allocations: 290.5 kB / 0.4899 GB, free: 4.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.1448, allocations: 97.62 kB / 0.49 GB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009849/0.1547, allocations: 6.484 MB / 0.4964 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.1554, allocations: 0.9596 MB / 0.4973 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002272/0.1556, allocations: 76.36 kB / 0.4974 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.156, allocations: 255.3 kB / 0.4976 GB, free: 12.69 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.156, allocations: 0 / 0.4976 GB, free: 12.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2369/0.3929, allocations: 14.09 MB / 0.5114 GB, free: 43.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.44, allocations: 10.44 kB / 0.5114 GB, free: 43.77 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.055535053950734] Failed to read output from testmodel.py, exit status != 0: 12.592163888039067 12.610873528 12.496755762 Calling exit ...