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.001318/0.001318, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001361/0.001361, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.493/1.493, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.04472/0.04472, allocations: 8.545 MB / 318.1 MB, free: 20 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/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.002092/0.002092, allocations: 76.11 kB / 442.4 MB, free: 40.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1255, allocations: 55.39 MB / 497.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005819/0.1313, allocations: 3.842 MB / 0.4899 GB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1341, allocations: 1.227 MB / 0.4911 GB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005484/0.1347, allocations: 11.94 kB / 0.4911 GB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000556/0.1352, allocations: 198.9 kB / 0.4913 GB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000715/0.1359, allocations: 286.6 kB / 0.4916 GB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000984/0.1369, allocations: 363.7 kB / 0.4919 GB, free: 1.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.138, allocations: 0.6433 MB / 0.4926 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005293/0.1386, allocations: 207.4 kB / 0.4928 GB, free: 368 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.1391, allocations: 282.8 kB / 0.493 GB, free: 84 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.1395, allocations: 318.6 kB / 0.4933 GB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.621e-05/0.1396, allocations: 56 kB / 0.4934 GB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1399, allocations: 108 kB / 0.4935 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.1402, allocations: 227.2 kB / 0.4937 GB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.1405, allocations: 345.9 kB / 0.494 GB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1418, allocations: 0.8987 MB / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1419, allocations: 4 kB / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1419, allocations: 0 / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.1419, allocations: 0 / 0.4949 GB, free: 14.14 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002344/0.1442, allocations: 1.134 MB / 0.496 GB, free: 12.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.1443, allocations: 12.03 kB / 0.496 GB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.407e-05/0.1443, allocations: 13.19 kB / 0.496 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1444, allocations: 82.7 kB / 0.4961 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.1446, allocations: 88.38 kB / 0.4962 GB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1456, allocations: 0.6055 MB / 0.4968 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.457e-05/0.1457, allocations: 33 kB / 0.4968 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.319e-05/0.1458, allocations: 40 kB / 0.4969 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/0.1467, allocations: 435.8 kB / 0.4973 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.1467, allocations: 3.938 kB / 0.4973 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.1468, allocations: 16 kB / 0.4973 GB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.806e-05/0.1468, allocations: 12 kB / 0.4973 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.1477, allocations: 307.8 kB / 0.4976 GB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003094/0.1508, allocations: 1.758 MB / 0.4993 GB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009433/0.1517, allocations: 307.9 kB / 0.4996 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.1521, allocations: 116.7 kB / 0.4997 GB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.186e-05/0.1521, allocations: 12.05 kB / 0.4997 GB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005052/0.1526, allocations: 179.2 kB / 0.4999 GB, free: 8.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.577e-06/0.1526, allocations: 0 / 0.4999 GB, free: 8.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001966/0.1546, allocations: 0.6128 MB / 0.5005 GB, free: 8.145 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/0.1546, allocations: 55.41 kB / 0.5006 GB, free: 8.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.1561, allocations: 0.9456 MB / 0.5015 GB, free: 7.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.1562, allocations: 33.7 kB / 0.5015 GB, free: 7.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.1566, allocations: 356.5 kB / 0.5019 GB, free: 6.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1567, allocations: 95.2 kB / 0.502 GB, free: 6.637 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.1569, allocations: 78.02 kB / 0.502 GB, free: 6.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.1571, allocations: 378.8 kB / 0.5024 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.1575, allocations: 128.7 kB / 0.5025 GB, free: 6.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.1579, allocations: 188 kB / 0.5027 GB, free: 5.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/0.1587, allocations: 345.6 kB / 0.503 GB, free: 5.469 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.1587, allocations: 7.938 kB / 0.503 GB, free: 5.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001366/0.1601, allocations: 0.5058 MB / 0.5035 GB, free: 4.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.1601, allocations: 33.7 kB / 0.5036 GB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.1602, allocations: 0 / 0.5036 GB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003448/0.1605, allocations: 60.81 kB / 0.5036 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.1608, allocations: 71.89 kB / 0.5037 GB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.1631, allocations: 1.818 MB / 0.5055 GB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.1636, allocations: 47.75 kB / 0.5055 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.1636, allocations: 12 kB / 0.5055 GB, free: 2.758 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: 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.0005096/0.1641, allocations: 274.1 kB / 0.5058 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.1642, allocations: 75.59 kB / 0.5058 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1654, allocations: 404.1 kB / 0.5062 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1654, allocations: 4 kB / 0.5062 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1654, allocations: 0 / 0.5062 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.1654, allocations: 7.984 kB / 0.5062 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.1661, allocations: 0.5441 MB / 0.5068 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1661, allocations: 0 / 0.5068 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1664, allocations: 43.91 kB / 0.5068 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/0.1666, allocations: 65 kB / 0.5069 GB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.1667, allocations: 11.92 kB / 0.5069 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1686, allocations: 1.81 MB / 0.5087 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1686, allocations: 3.938 kB / 0.5087 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.17, allocations: 0.5529 MB / 0.5092 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.1703, allocations: 156.7 kB / 0.5093 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.1704, allocations: 8 kB / 0.5094 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.1706, allocations: 23.97 kB / 0.5094 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.1707, allocations: 23.97 kB / 0.5094 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.1708, allocations: 11.98 kB / 0.5094 GB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.1718, allocations: 0.6787 MB / 0.5101 GB, free: 13.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1718, allocations: 0 / 0.5101 GB, free: 13.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000675/0.1725, allocations: 131.7 kB / 0.5102 GB, free: 13.7 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.004311/0.1768, allocations: 1.594 MB / 0.5118 GB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1782, allocations: 473.7 kB / 0.5122 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.1782, allocations: 4 kB / 0.5122 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.1788, allocations: 258.9 kB / 0.5125 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.1795, allocations: 90.89 kB / 0.5125 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.1911, allocations: 6.375 MB / 0.5188 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/0.1918, allocations: 0.9468 MB / 0.5197 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.1922, allocations: 80.23 kB / 0.5198 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/0.1925, allocations: 239.4 kB / 0.52 GB, free: 3.703 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1925, allocations: 0 / 0.52 GB, free: 3.703 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06137/0.2539, allocations: 13.91 MB / 0.5336 GB, free: 5.855 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.38, allocations: 0 / 0.5336 GB, free: 5.855 MB / 398.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.483207606012] Failed to read output from testmodel.py, exit status != 0: 13.59056729200529 13.615928984 13.469057123 Calling exit ...