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.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.00126/0.00126, allocations: 104 kB / 19.12 MB, free: 2.82 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.00145/0.00145, allocations: 186.9 kB / 22.43 MB, free: 5.117 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.393/1.393, allocations: 225.6 MB / 251.3 MB, free: 13.12 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.04145/0.04145, allocations: 8.54 MB / 315.1 MB, free: 84 kB / 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.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: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.89 kB / 438.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/0.09922, allocations: 54.25 MB / 493.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005944/0.1052, allocations: 3.883 MB / 497 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1082, allocations: 1.816 MB / 498.8 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.1085, allocations: 11.94 kB / 498.8 MB, free: 364 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.109, allocations: 202.9 kB / 499 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.1096, allocations: 242.8 kB / 499.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008274/0.1104, allocations: 381.5 kB / 499.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.1112, allocations: 0.6704 MB / 0.4885 GB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.1116, allocations: 233.3 kB / 0.4888 GB, free: 14.63 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003864/0.112, allocations: 278.8 kB / 0.489 GB, free: 14.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.1125, allocations: 346.5 kB / 0.4894 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.72e-05/0.1126, allocations: 60 kB / 0.4894 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.1128, allocations: 124 kB / 0.4895 GB, free: 13.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.1131, allocations: 227.2 kB / 0.4898 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003469/0.1134, allocations: 373.8 kB / 0.4901 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1145, allocations: 0.9297 MB / 0.491 GB, free: 12.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1145, allocations: 0 / 0.491 GB, free: 12.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1145, allocations: 0 / 0.491 GB, free: 12.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1145, allocations: 4 kB / 0.491 GB, free: 12.31 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002012/0.1166, allocations: 1.157 MB / 0.4921 GB, free: 11.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1166, allocations: 8.031 kB / 0.4922 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.573e-05/0.1167, allocations: 94.64 kB / 0.4922 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.1169, allocations: 96.33 kB / 0.4923 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008525/0.1177, allocations: 0.6097 MB / 0.4929 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.1178, allocations: 33 kB / 0.493 GB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.212e-05/0.1179, allocations: 51.94 kB / 0.493 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.119, allocations: 479.8 kB / 0.4935 GB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.119, allocations: 8 kB / 0.4935 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.119, allocations: 16 kB / 0.4935 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1191, allocations: 15.94 kB / 0.4935 GB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.12, allocations: 351.7 kB / 0.4938 GB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.123, allocations: 1.863 MB / 0.4957 GB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.1238, allocations: 338.7 kB / 0.496 GB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.1241, allocations: 124.8 kB / 0.4961 GB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.1242, allocations: 4 kB / 0.4961 GB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005087/0.1247, allocations: 203.2 kB / 0.4963 GB, free: 6.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.1247, allocations: 0 / 0.4963 GB, free: 6.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001709/0.1264, allocations: 0.644 MB / 0.4969 GB, free: 6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1264, allocations: 59.41 kB / 0.497 GB, free: 5.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.1276, allocations: 0.9338 MB / 0.4979 GB, free: 4.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.1277, allocations: 33.7 kB / 0.4979 GB, free: 4.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.128, allocations: 364.5 kB / 0.4983 GB, free: 4.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.1281, allocations: 107.1 kB / 0.4984 GB, free: 4.484 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1282, allocations: 82.12 kB / 0.4985 GB, free: 4.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1284, allocations: 382.8 kB / 0.4988 GB, free: 4.016 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.1288, allocations: 140.8 kB / 0.499 GB, free: 3.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.1293, allocations: 203.1 kB / 0.4992 GB, free: 3.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007549/0.13, allocations: 372.2 kB / 0.4995 GB, free: 3.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.13, allocations: 3.938 kB / 0.4995 GB, free: 3.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001231/0.1312, allocations: 0.5345 MB / 0.5 GB, free: 2.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.1313, allocations: 29.7 kB / 0.5001 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1313, allocations: 7.938 kB / 0.5001 GB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.1316, allocations: 64.75 kB / 0.5001 GB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.1319, allocations: 76.03 kB / 0.5002 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.1339, allocations: 1.814 MB / 0.502 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.1343, allocations: 43.75 kB / 0.502 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.1343, allocations: 16 kB / 0.502 GB, free: 0.5117 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.0003918/0.1347, allocations: 282.2 kB / 0.5023 GB, free: 232 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1348, allocations: 67.53 kB / 0.5024 GB, free: 164 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.1359, allocations: 437.3 kB / 0.5028 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1359, allocations: 11.94 kB / 0.5028 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.1359, allocations: 3.938 kB / 0.5028 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.1359, allocations: 7.969 kB / 0.5028 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.1366, allocations: 0.5791 MB / 0.5034 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1366, allocations: 0 / 0.5034 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.1368, allocations: 43.95 kB / 0.5034 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.137, allocations: 60.81 kB / 0.5035 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.1371, allocations: 4.188 kB / 0.5035 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.1388, allocations: 1.81 MB / 0.5052 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1388, allocations: 0 / 0.5052 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.1402, allocations: 0.6007 MB / 0.5058 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.1404, allocations: 160.7 kB / 0.506 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/0.1404, allocations: 8 kB / 0.506 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.1407, allocations: 27.91 kB / 0.506 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.1408, allocations: 39.94 kB / 0.5061 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1408, allocations: 4 kB / 0.5061 GB, free: 12.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008616/0.1417, allocations: 0.6669 MB / 0.5067 GB, free: 11.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1417, allocations: 0 / 0.5067 GB, free: 11.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005587/0.1422, allocations: 147.6 kB / 0.5069 GB, free: 11.32 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.00394/0.1462, allocations: 1.645 MB / 0.5085 GB, free: 9.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.1474, allocations: 498 kB / 0.5089 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.1474, allocations: 8.125 kB / 0.5089 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.148, allocations: 282.5 kB / 0.5092 GB, free: 9.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.1485, allocations: 87.53 kB / 0.5093 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.1596, allocations: 6.484 MB / 0.5156 GB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007857/0.1604, allocations: 0.9635 MB / 0.5166 GB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.1607, allocations: 84.33 kB / 0.5167 GB, free: 1.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.1611, allocations: 255.3 kB / 0.5169 GB, free: 1.078 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1611, allocations: 0 / 0.5169 GB, free: 1.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.249/0.4101, allocations: 14.2 MB / 0.5308 GB, free: 32.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.61, allocations: 13.88 kB / 0.5308 GB, free: 32.95 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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: 15.179355088999728] Failed to read output from testmodel.py, exit status != 0: 12.759302796999691 12.770607014 12.653752267 Calling exit ...