Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.001544/0.001544, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00177/0.00177, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.742 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.04162/0.04162, allocations: 8.541 MB / 321 MB, free: 10.37 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.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",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.002173/0.002173, allocations: 67.91 kB / 446.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1203, allocations: 55.42 MB / 0.4905 GB, free: 8.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006468/0.1268, allocations: 3.591 MB / 0.494 GB, free: 4.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1291, allocations: 1.176 MB / 0.4952 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002539/0.1293, allocations: 8 kB / 0.4952 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.1299, allocations: 210.8 kB / 0.4954 GB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006938/0.1306, allocations: 282.6 kB / 0.4957 GB, free: 2.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.1314, allocations: 368.6 kB / 0.496 GB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.1322, allocations: 0.6433 MB / 0.4966 GB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003987/0.1326, allocations: 195.8 kB / 0.4968 GB, free: 1.582 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004225/0.1331, allocations: 274.8 kB / 0.4971 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.1335, allocations: 294.6 kB / 0.4974 GB, free: 1.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.1336, allocations: 56 kB / 0.4974 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1338, allocations: 116 kB / 0.4975 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.134, allocations: 215.3 kB / 0.4977 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.1343, allocations: 270.3 kB / 0.498 GB, free: 388 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1353, allocations: 0.9025 MB / 0.4989 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1353, allocations: 7.984 kB / 0.4989 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1353, allocations: 0 / 0.4989 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1353, allocations: 0 / 0.4989 GB, free: 15.46 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001901/0.1372, allocations: 1.051 MB / 0.4999 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.1373, allocations: 15.97 kB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1374, allocations: 78.7 kB / 0.5 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.1376, allocations: 92.33 kB / 0.5001 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.1385, allocations: 0.5377 MB / 0.5006 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.1385, allocations: 29 kB / 0.5006 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1387, allocations: 51.95 kB / 0.5007 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.1395, allocations: 431.8 kB / 0.5011 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1396, allocations: 3.938 kB / 0.5011 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.1396, allocations: 19.94 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1396, allocations: 8 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.1404, allocations: 311.8 kB / 0.5014 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.1432, allocations: 1.564 MB / 0.503 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.144, allocations: 306.8 kB / 0.5032 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.1443, allocations: 116.8 kB / 0.5034 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.1443, allocations: 7.938 kB / 0.5034 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004529/0.1448, allocations: 179.2 kB / 0.5035 GB, free: 10.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.795e-06/0.1448, allocations: 0 / 0.5035 GB, free: 10.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00171/0.1465, allocations: 0.525 MB / 0.5041 GB, free: 9.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.1466, allocations: 63.34 kB / 0.5041 GB, free: 9.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.1477, allocations: 0.9417 MB / 0.505 GB, free: 8.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1478, allocations: 33.7 kB / 0.5051 GB, free: 8.906 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.1481, allocations: 356.5 kB / 0.5054 GB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.282e-05/0.1482, allocations: 103.2 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1483, allocations: 74.02 kB / 0.5056 GB, free: 8.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.1485, allocations: 382.8 kB / 0.5059 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.1489, allocations: 154.4 kB / 0.5061 GB, free: 7.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.1493, allocations: 225.5 kB / 0.5063 GB, free: 7.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.15, allocations: 341.6 kB / 0.5066 GB, free: 7.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.15, allocations: 0 / 0.5066 GB, free: 7.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001125/0.1511, allocations: 0.5349 MB / 0.5071 GB, free: 6.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.1512, allocations: 29.7 kB / 0.5072 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1512, allocations: 4 kB / 0.5072 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.1515, allocations: 60.81 kB / 0.5072 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.1518, allocations: 71.89 kB / 0.5073 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.1537, allocations: 1.707 MB / 0.509 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.154, allocations: 55.73 kB / 0.509 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.154, allocations: 8 kB / 0.509 GB, free: 4.605 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: 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.0003573/0.1543, allocations: 278.5 kB / 0.5093 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.1544, allocations: 67.64 kB / 0.5094 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.1554, allocations: 408.2 kB / 0.5098 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.1554, allocations: 7.938 kB / 0.5098 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.1554, allocations: 0 / 0.5098 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1554, allocations: 0 / 0.5098 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.156, allocations: 476.3 kB / 0.5102 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.156, allocations: 4 kB / 0.5102 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.1563, allocations: 47.89 kB / 0.5103 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/0.1565, allocations: 60.81 kB / 0.5103 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.1565, allocations: 4.188 kB / 0.5103 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.1584, allocations: 1.703 MB / 0.512 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1584, allocations: 0 / 0.512 GB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.1597, allocations: 0.5484 MB / 0.5125 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.1599, allocations: 87.53 kB / 0.5126 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.1599, allocations: 4 kB / 0.5126 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1602, allocations: 23.97 kB / 0.5126 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.1602, allocations: 23.95 kB / 0.5127 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1603, allocations: 8 kB / 0.5127 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009916/0.1613, allocations: 0.6786 MB / 0.5133 GB, free: 4 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1613, allocations: 0 / 0.5133 GB, free: 4 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.2207/0.382, allocations: 131 kB / 0.5135 GB, free: 26.57 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: 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.003721/0.3857, allocations: 1.64 MB / 0.5151 GB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009509/0.3866, allocations: 0.4919 MB / 0.5155 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3866, allocations: 0.6875 kB / 0.5155 GB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004244/0.3871, allocations: 264.7 kB / 0.5158 GB, free: 25.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.3875, allocations: 100.4 kB / 0.5159 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007747/0.3953, allocations: 6.481 MB / 0.5222 GB, free: 23.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.3957, allocations: 350.8 kB / 0.5225 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002692/0.396, allocations: 73.19 kB / 0.5226 GB, free: 23.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.3963, allocations: 247.2 kB / 0.5229 GB, free: 23.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3963, allocations: 0 / 0.5229 GB, free: 23.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/0.4467, allocations: 14.59 MB / 0.5371 GB, free: 18.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.31, allocations: 9.266 kB / 0.5371 GB, free: 18.65 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.05655152676627] Failed to read output from testmodel.py, exit status != 0: 13.494038939010352 13.514232027 13.37526508 Calling exit ...