Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001332/0.001332, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001451/0.001451, allocations: 219 kB / 22.25 MB, free: 5.184 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.421/1.421, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04253/0.04253, allocations: 8.546 MB / 321 MB, free: 10.63 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_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.001982/0.001982, allocations: 63.91 kB / 446.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1121, allocations: 55.42 MB / 0.4906 GB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005935/0.1181, allocations: 3.97 MB / 0.4945 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.1211, allocations: 1.948 MB / 0.4964 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.1214, allocations: 11.94 kB / 0.4964 GB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004734/0.1218, allocations: 214.8 kB / 0.4966 GB, free: 2.289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.1224, allocations: 290.5 kB / 0.4969 GB, free: 2.004 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007399/0.1232, allocations: 377.4 kB / 0.4972 GB, free: 1.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.1239, allocations: 0.6745 MB / 0.4979 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1243, allocations: 241.7 kB / 0.4981 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.1247, allocations: 298.8 kB / 0.4984 GB, free: 436 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.1252, allocations: 350.5 kB / 0.4987 GB, free: 84 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.738e-05/0.1252, allocations: 64 kB / 0.4988 GB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1254, allocations: 124 kB / 0.4989 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1257, allocations: 227.2 kB / 0.4991 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.126, allocations: 377.7 kB / 0.4995 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.127, allocations: 0.9492 MB / 0.5004 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.127, allocations: 4 kB / 0.5004 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.127, allocations: 0 / 0.5004 GB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.127, allocations: 0 / 0.5004 GB, free: 14.35 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.001836/0.1289, allocations: 1.105 MB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1289, allocations: 8.031 kB / 0.5015 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.129, allocations: 86.7 kB / 0.5016 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1292, allocations: 100.3 kB / 0.5017 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.13, allocations: 0.5532 MB / 0.5022 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.13, allocations: 37 kB / 0.5023 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.1301, allocations: 48 kB / 0.5023 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000907/0.131, allocations: 487.8 kB / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.131, allocations: 0 / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.1311, allocations: 20 kB / 0.5028 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1311, allocations: 12 kB / 0.5028 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.1319, allocations: 351.7 kB / 0.5031 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0027/0.1346, allocations: 1.794 MB / 0.5049 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/0.1354, allocations: 338.6 kB / 0.5052 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.1358, allocations: 125.3 kB / 0.5053 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.1358, allocations: 8 kB / 0.5053 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004692/0.1363, allocations: 207.2 kB / 0.5055 GB, free: 8.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.1363, allocations: 0 / 0.5055 GB, free: 8.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001706/0.138, allocations: 0.568 MB / 0.5061 GB, free: 8.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.138, allocations: 59.41 kB / 0.5061 GB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.1392, allocations: 0.9534 MB / 0.5071 GB, free: 7.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1392, allocations: 37.7 kB / 0.5071 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.1395, allocations: 376.5 kB / 0.5075 GB, free: 6.891 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.1396, allocations: 99.16 kB / 0.5076 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1397, allocations: 86.08 kB / 0.5077 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1399, allocations: 322 kB / 0.508 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.1402, allocations: 148.7 kB / 0.5081 GB, free: 6.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.1407, allocations: 207.1 kB / 0.5083 GB, free: 6.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007525/0.1414, allocations: 372 kB / 0.5087 GB, free: 5.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.1414, allocations: 0 / 0.5087 GB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001203/0.1426, allocations: 0.5384 MB / 0.5092 GB, free: 5.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/0.1427, allocations: 29.7 kB / 0.5092 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1427, allocations: 7.938 kB / 0.5092 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/0.1429, allocations: 60.81 kB / 0.5093 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/0.1432, allocations: 80.03 kB / 0.5093 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.145, allocations: 1.699 MB / 0.511 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1453, allocations: 55.89 kB / 0.5111 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.1454, allocations: 19.94 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.0003501/0.1457, allocations: 279 kB / 0.5113 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.1458, allocations: 71.52 kB / 0.5114 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.1468, allocations: 442.2 kB / 0.5118 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.1468, allocations: 8 kB / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1468, allocations: 0 / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1468, allocations: 3.984 kB / 0.5118 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006041/0.1475, allocations: 0.5547 MB / 0.5124 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1475, allocations: 0 / 0.5124 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.1477, allocations: 47.97 kB / 0.5124 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001866/0.1479, allocations: 56.75 kB / 0.5125 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1479, allocations: 15.98 kB / 0.5125 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2104/0.3583, allocations: 1.693 MB / 0.5142 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3583, allocations: 0 / 0.5142 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.3597, allocations: 0.5935 MB / 0.5147 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.3599, allocations: 95.72 kB / 0.5148 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.3599, allocations: 6.156 kB / 0.5148 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3602, allocations: 23.03 kB / 0.5149 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.3603, allocations: 35.2 kB / 0.5149 GB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3603, allocations: 5.812 kB / 0.5149 GB, free: 25.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007071/0.361, allocations: 0.683 MB / 0.5156 GB, free: 25.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.361, allocations: 0 / 0.5156 GB, free: 25.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.3615, allocations: 137.6 kB / 0.5157 GB, free: 25.77 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.003524/0.365, allocations: 1.652 MB / 0.5173 GB, free: 25.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3661, allocations: 0.4971 MB / 0.5178 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3661, allocations: 3.406 kB / 0.5178 GB, free: 24.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.3665, allocations: 283.7 kB / 0.5181 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.3671, allocations: 94.98 kB / 0.5182 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008466/0.3755, allocations: 6.544 MB / 0.5245 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.376, allocations: 0.9652 MB / 0.5255 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000249/0.3762, allocations: 74.59 kB / 0.5256 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.3765, allocations: 261 kB / 0.5258 GB, free: 22.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.153e-06/0.3765, allocations: 0 / 0.5258 GB, free: 22.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/0.4278, allocations: 14.6 MB / 0.5401 GB, free: 17.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/13.85, allocations: 5.016 kB / 0.5401 GB, free: 17.12 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.687492387995007] Failed to read output from testmodel.py, exit status != 0: 14.03261932299938 14.051343178 13.920871172 Calling exit ...