Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001365/0.001365, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001532/0.001532, allocations: 214.5 kB / 23.04 MB, free: 5.074 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.04786/0.04786, allocations: 8.547 MB / 321.8 MB, free: 10.61 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.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",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.003089/0.003089, allocations: 63.91 kB / 447.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1287, allocations: 55.42 MB / 0.4913 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006213/0.1349, allocations: 3.888 MB / 0.4951 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1374, allocations: 1.235 MB / 0.4963 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.1377, allocations: 7.938 kB / 0.4964 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.1382, allocations: 202.9 kB / 0.4965 GB, free: 3.078 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006989/0.1389, allocations: 282.6 kB / 0.4968 GB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.1398, allocations: 366 kB / 0.4972 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.1406, allocations: 0.6511 MB / 0.4978 GB, free: 1.789 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.141, allocations: 199.9 kB / 0.498 GB, free: 1.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.1414, allocations: 278.8 kB / 0.4983 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.1418, allocations: 318.6 kB / 0.4986 GB, free: 1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.487e-05/0.1419, allocations: 56 kB / 0.4986 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.1421, allocations: 115.9 kB / 0.4987 GB, free: 0.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1423, allocations: 223.2 kB / 0.4989 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.1426, allocations: 345.9 kB / 0.4993 GB, free: 280 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.1437, allocations: 0.9064 MB / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1437, allocations: 0 / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1437, allocations: 4 kB / 0.5002 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1437, allocations: 0 / 0.5002 GB, free: 15.36 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.001903/0.1456, allocations: 1.054 MB / 0.5012 GB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1457, allocations: 12.03 kB / 0.5012 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.118e-05/0.1457, allocations: 13.19 kB / 0.5012 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.025e-05/0.1458, allocations: 74.72 kB / 0.5013 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.1459, allocations: 104.3 kB / 0.5014 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008425/0.1468, allocations: 0.5219 MB / 0.5019 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.1468, allocations: 37 kB / 0.5019 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.1469, allocations: 43.95 kB / 0.502 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.1478, allocations: 439.8 kB / 0.5024 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.1478, allocations: 0 / 0.5024 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.1478, allocations: 16 kB / 0.5024 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1479, allocations: 8 kB / 0.5024 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008133/0.1487, allocations: 315.7 kB / 0.5027 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.1515, allocations: 1.693 MB / 0.5044 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008858/0.1524, allocations: 306.7 kB / 0.5047 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.1527, allocations: 120.7 kB / 0.5048 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.1528, allocations: 7.938 kB / 0.5048 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.1532, allocations: 183.2 kB / 0.505 GB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.275e-06/0.1532, allocations: 0 / 0.505 GB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001799/0.155, allocations: 0.5289 MB / 0.5055 GB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.1551, allocations: 59.41 kB / 0.5055 GB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.1564, allocations: 0.9418 MB / 0.5064 GB, free: 8.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.1565, allocations: 33.7 kB / 0.5065 GB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.1569, allocations: 356.5 kB / 0.5068 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.157, allocations: 95.28 kB / 0.5069 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.1571, allocations: 78.02 kB / 0.507 GB, free: 8.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.1573, allocations: 378.8 kB / 0.5073 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.1577, allocations: 128.7 kB / 0.5075 GB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.1581, allocations: 199.7 kB / 0.5077 GB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/0.1589, allocations: 337.6 kB / 0.508 GB, free: 7.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1589, allocations: 4 kB / 0.508 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001241/0.1602, allocations: 0.5058 MB / 0.5085 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.1602, allocations: 33.7 kB / 0.5085 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1602, allocations: 0 / 0.5085 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.1605, allocations: 60.81 kB / 0.5086 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1608, allocations: 75.83 kB / 0.5086 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.1628, allocations: 1.711 MB / 0.5103 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003565/0.1631, allocations: 47.75 kB / 0.5104 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1632, allocations: 16 kB / 0.5104 GB, free: 4.453 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.000389/0.1636, allocations: 272.8 kB / 0.5106 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.1637, allocations: 71.53 kB / 0.5107 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009886/0.1646, allocations: 413 kB / 0.5111 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1646, allocations: 4 kB / 0.5111 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1646, allocations: 3.984 kB / 0.5111 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1647, allocations: 0 / 0.5111 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.1653, allocations: 0.5275 MB / 0.5116 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1653, allocations: 4 kB / 0.5116 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.1655, allocations: 39.97 kB / 0.5117 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.1657, allocations: 60.81 kB / 0.5117 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1658, allocations: 8.125 kB / 0.5117 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.1676, allocations: 1.711 MB / 0.5134 GB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1676, allocations: 3.938 kB / 0.5134 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1689, allocations: 0.5484 MB / 0.5139 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.1691, allocations: 91.47 kB / 0.514 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.1691, allocations: 8 kB / 0.514 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1694, allocations: 19.97 kB / 0.5141 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.1694, allocations: 27.95 kB / 0.5141 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.1695, allocations: 8 kB / 0.5141 GB, free: 456 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.227/0.3965, allocations: 0.6744 MB / 0.5147 GB, free: 26.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3965, allocations: 0.8125 kB / 0.5147 GB, free: 26.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00111/0.3976, allocations: 126.5 kB / 0.5149 GB, free: 26.28 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.005223/0.4028, allocations: 1.594 MB / 0.5164 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.4043, allocations: 483.9 kB / 0.5169 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4043, allocations: 1.219 kB / 0.5169 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.405, allocations: 262.2 kB / 0.5171 GB, free: 25.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.4058, allocations: 95.75 kB / 0.5172 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.4182, allocations: 6.371 MB / 0.5234 GB, free: 23.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.4188, allocations: 0.9517 MB / 0.5244 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000352/0.4192, allocations: 80.86 kB / 0.5245 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/0.4196, allocations: 240.7 kB / 0.5247 GB, free: 22.82 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4196, allocations: 0 / 0.5247 GB, free: 22.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06115/0.4807, allocations: 14.14 MB / 0.5385 GB, free: 18.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.06, allocations: 5.781 kB / 0.5385 GB, free: 18.42 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.99733554001432] Failed to read output from testmodel.py, exit status != 0: 14.287836064002477 14.29855887 14.152555949 Calling exit ...