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.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.001816/0.001816, allocations: 110.4 kB / 18.94 MB, free: 2.793 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.002209/0.002209, allocations: 219.4 kB / 22.25 MB, free: 5.215 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.02 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.04344/0.04344, allocations: 8.552 MB / 321 MB, free: 10.62 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.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: 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.00205/0.00205, allocations: 68.14 kB / 446.9 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1064, allocations: 55.41 MB / 0.4906 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006099/0.1125, allocations: 3.976 MB / 0.4945 GB, free: 4.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003229/0.1157, allocations: 1.944 MB / 0.4964 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.116, allocations: 11.94 kB / 0.4964 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004997/0.1165, allocations: 218.7 kB / 0.4966 GB, free: 2.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006606/0.1171, allocations: 286.5 kB / 0.4969 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007962/0.1179, allocations: 378.4 kB / 0.4972 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007845/0.1187, allocations: 0.6823 MB / 0.4979 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004245/0.1191, allocations: 237.8 kB / 0.4981 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.1196, allocations: 298.8 kB / 0.4984 GB, free: 428 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.12, allocations: 342.5 kB / 0.4987 GB, free: 84 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.1201, allocations: 60 kB / 0.4988 GB, free: 24 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.1203, allocations: 128 kB / 0.4989 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1205, allocations: 227.1 kB / 0.4991 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1209, allocations: 385.7 kB / 0.4995 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.1219, allocations: 0.9492 MB / 0.5004 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1219, allocations: 0 / 0.5004 GB, free: 14.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1219, allocations: 0 / 0.5004 GB, free: 14.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1219, allocations: 0 / 0.5004 GB, free: 14.34 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001881/0.1238, allocations: 1.101 MB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1239, allocations: 12.03 kB / 0.5015 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.124, allocations: 86.7 kB / 0.5016 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.1241, allocations: 96.33 kB / 0.5017 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008672/0.125, allocations: 0.5571 MB / 0.5022 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.125, allocations: 37 kB / 0.5022 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.1251, allocations: 48 kB / 0.5023 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009382/0.126, allocations: 483.8 kB / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1261, allocations: 0 / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.1261, allocations: 16 kB / 0.5028 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1261, allocations: 12 kB / 0.5028 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008904/0.127, allocations: 355.7 kB / 0.5031 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.1298, allocations: 1.798 MB / 0.5049 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.1306, allocations: 326.7 kB / 0.5052 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.131, allocations: 133.3 kB / 0.5053 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.131, allocations: 4 kB / 0.5053 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.1315, allocations: 203.2 kB / 0.5055 GB, free: 8.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.803e-06/0.1315, allocations: 0 / 0.5055 GB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.00177/0.1333, allocations: 0.5798 MB / 0.5061 GB, free: 8.336 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1333, allocations: 55.41 kB / 0.5061 GB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1346, allocations: 0.9534 MB / 0.5071 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.1346, allocations: 29.7 kB / 0.5071 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003276/0.1349, allocations: 384.3 kB / 0.5075 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.135, allocations: 103.2 kB / 0.5076 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1351, allocations: 86.08 kB / 0.5076 GB, free: 6.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1353, allocations: 318 kB / 0.5079 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.1357, allocations: 136.8 kB / 0.5081 GB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.1361, allocations: 215.1 kB / 0.5083 GB, free: 6.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/0.1369, allocations: 368 kB / 0.5086 GB, free: 5.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1369, allocations: 0 / 0.5086 GB, free: 5.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001205/0.1381, allocations: 0.5424 MB / 0.5092 GB, free: 5.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.1382, allocations: 37.73 kB / 0.5092 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1382, allocations: 3.938 kB / 0.5092 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.1385, allocations: 56.81 kB / 0.5093 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.1388, allocations: 79.88 kB / 0.5093 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1407, allocations: 1.715 MB / 0.511 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.141, allocations: 47.7 kB / 0.5111 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.141, allocations: 16 kB / 0.5111 GB, free: 2.992 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: 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.0003728/0.1414, allocations: 277.6 kB / 0.5113 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.1415, allocations: 71.53 kB / 0.5114 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1426, allocations: 442.2 kB / 0.5118 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1426, allocations: 0 / 0.5118 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.1426, allocations: 0 / 0.5118 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.1426, allocations: 7.984 kB / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.1433, allocations: 0.5508 MB / 0.5124 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1433, allocations: 8 kB / 0.5124 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.1435, allocations: 39.97 kB / 0.5124 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.1437, allocations: 60.81 kB / 0.5125 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.1438, allocations: 11.92 kB / 0.5125 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1786/0.3224, allocations: 1.699 MB / 0.5141 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3224, allocations: 0.5312 kB / 0.5141 GB, free: 25.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3237, allocations: 0.5885 MB / 0.5147 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.3238, allocations: 97.34 kB / 0.5148 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3239, allocations: 10.09 kB / 0.5148 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3241, allocations: 23.86 kB / 0.5148 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.692e-05/0.3242, allocations: 33.91 kB / 0.5149 GB, free: 25.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3242, allocations: 7.859 kB / 0.5149 GB, free: 25.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007083/0.325, allocations: 0.6785 MB / 0.5155 GB, free: 25.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.325, allocations: 3.594 kB / 0.5155 GB, free: 25.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005176/0.3255, allocations: 143.7 kB / 0.5157 GB, free: 25.73 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: 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.003529/0.329, allocations: 1.641 MB / 0.5173 GB, free: 25.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.33, allocations: 0.504 MB / 0.5178 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.33, allocations: 2.516 kB / 0.5178 GB, free: 24.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.3305, allocations: 287.6 kB / 0.5181 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.331, allocations: 91.97 kB / 0.5181 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/0.3403, allocations: 6.549 MB / 0.5245 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.3408, allocations: 0.9636 MB / 0.5255 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002756/0.3411, allocations: 70.17 kB / 0.5255 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.3414, allocations: 259.9 kB / 0.5258 GB, free: 22 MB / 382.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3414, allocations: 0 / 0.5258 GB, free: 22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.4042, allocations: 14.61 MB / 0.5401 GB, free: 17.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.13, allocations: 5.984 kB / 0.5401 GB, free: 17.09 MB / 382.1 MB " [Timeout remaining time 646] (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: 17.027788696002972] Failed to read output from testmodel.py, exit status != 0: 14.313534054999764 14.334442517 14.208640889 Calling exit ...