Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001651/0.001651, allocations: 117.1 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.001799/0.001799, allocations: 215 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.722/1.722, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04584/0.04584, allocations: 8.541 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",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.002227/0.002227, allocations: 70.8 kB / 442.4 MB, free: 40.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1077, allocations: 55.39 MB / 497.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00451/0.1122, allocations: 3.928 MB / 0.49 GB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1146, allocations: 1.849 MB / 0.4918 GB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.1151, allocations: 11.94 kB / 0.4918 GB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.1156, allocations: 210.8 kB / 0.492 GB, free: 1.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007928/0.1164, allocations: 290.5 kB / 0.4923 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000803/0.1172, allocations: 383 kB / 0.4927 GB, free: 488 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.118, allocations: 0.6783 MB / 0.4933 GB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.1185, allocations: 237.3 kB / 0.4936 GB, free: 15.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005165/0.1191, allocations: 306.8 kB / 0.4938 GB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.1196, allocations: 346.5 kB / 0.4942 GB, free: 14.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.1197, allocations: 60 kB / 0.4942 GB, free: 14.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.1199, allocations: 120 kB / 0.4943 GB, free: 14.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.1202, allocations: 231.2 kB / 0.4946 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.1206, allocations: 377.7 kB / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1219, allocations: 0.9492 MB / 0.4959 GB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1219, allocations: 0 / 0.4959 GB, free: 13.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1219, allocations: 0 / 0.4959 GB, free: 13.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.578e-05/0.122, allocations: 0 / 0.4959 GB, free: 13.18 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.002384/0.1244, allocations: 1.18 MB / 0.497 GB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1244, allocations: 8.031 kB / 0.497 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.839e-05/0.1244, allocations: 21.11 kB / 0.497 GB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/0.1246, allocations: 86.72 kB / 0.4971 GB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.1247, allocations: 92.33 kB / 0.4972 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009627/0.1257, allocations: 0.6095 MB / 0.4978 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.1257, allocations: 40.94 kB / 0.4978 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.1258, allocations: 52 kB / 0.4979 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1269, allocations: 479.8 kB / 0.4983 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.1269, allocations: 0 / 0.4983 GB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1269, allocations: 20 kB / 0.4984 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1269, allocations: 12 kB / 0.4984 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009949/0.1279, allocations: 355.7 kB / 0.4987 GB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/0.1314, allocations: 1.871 MB / 0.5005 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1324, allocations: 330.7 kB / 0.5009 GB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.1328, allocations: 132.7 kB / 0.501 GB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.988e-05/0.1329, allocations: 4 kB / 0.501 GB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/0.1334, allocations: 207.6 kB / 0.5012 GB, free: 7.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.1334, allocations: 0 / 0.5012 GB, free: 7.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.002093/0.1355, allocations: 0.6551 MB / 0.5018 GB, free: 6.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.1356, allocations: 55.39 kB / 0.5019 GB, free: 6.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.137, allocations: 0.9496 MB / 0.5028 GB, free: 5.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.1371, allocations: 29.7 kB / 0.5028 GB, free: 5.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.1375, allocations: 384.3 kB / 0.5032 GB, free: 5.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.1376, allocations: 107.1 kB / 0.5033 GB, free: 5.262 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1378, allocations: 86.11 kB / 0.5034 GB, free: 5.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1379, allocations: 325.9 kB / 0.5037 GB, free: 4.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.1383, allocations: 132.8 kB / 0.5038 GB, free: 4.715 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.1388, allocations: 207.1 kB / 0.504 GB, free: 4.488 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000851/0.1396, allocations: 372 kB / 0.5044 GB, free: 4.094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1397, allocations: 4 kB / 0.5044 GB, free: 4.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001359/0.141, allocations: 0.5386 MB / 0.5049 GB, free: 3.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.1411, allocations: 37.64 kB / 0.5049 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1411, allocations: 0 / 0.5049 GB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/0.1414, allocations: 60.75 kB / 0.505 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1417, allocations: 75.89 kB / 0.5051 GB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1438, allocations: 1.814 MB / 0.5068 GB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1442, allocations: 51.72 kB / 0.5069 GB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.1442, allocations: 19.98 kB / 0.5069 GB, free: 1.328 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.0003669/0.1446, allocations: 269.2 kB / 0.5072 GB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1447, allocations: 67.53 kB / 0.5072 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1458, allocations: 446.2 kB / 0.5077 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1458, allocations: 4 kB / 0.5077 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1458, allocations: 192 / 0.5077 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1458, allocations: 0 / 0.5077 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.1465, allocations: 0.5908 MB / 0.5082 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1465, allocations: 4 kB / 0.5082 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.1468, allocations: 43.97 kB / 0.5083 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.147, allocations: 56.81 kB / 0.5083 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.147, allocations: 8 kB / 0.5083 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.1489, allocations: 1.81 MB / 0.5101 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.1489, allocations: 7.922 kB / 0.5101 GB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.1503, allocations: 0.5923 MB / 0.5107 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.1505, allocations: 172.8 kB / 0.5109 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.1506, allocations: 12 kB / 0.5109 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1508, allocations: 27.91 kB / 0.5109 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.1509, allocations: 27.97 kB / 0.5109 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.151, allocations: 11.98 kB / 0.5109 GB, free: 12.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008836/0.1518, allocations: 0.6826 MB / 0.5116 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1518, allocations: 3.938 kB / 0.5116 GB, free: 12.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.1524, allocations: 139.7 kB / 0.5117 GB, free: 12.13 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.004043/0.1564, allocations: 1.641 MB / 0.5133 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.1576, allocations: 0.4978 MB / 0.5138 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1576, allocations: 0 / 0.5138 GB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005953/0.1582, allocations: 279.5 kB / 0.5141 GB, free: 9.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.1588, allocations: 97.92 kB / 0.5142 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.1694, allocations: 6.548 MB / 0.5206 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.1701, allocations: 0.9635 MB / 0.5215 GB, free: 2.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.1703, allocations: 72.34 kB / 0.5216 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.1707, allocations: 259.3 kB / 0.5218 GB, free: 1.812 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1707, allocations: 3.938 kB / 0.5218 GB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.2139, allocations: 14.39 MB / 0.5359 GB, free: 3.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.13, allocations: 7.938 kB / 0.5359 GB, free: 3.488 MB / 398.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.30481897300342] Failed to read output from testmodel.py, exit status != 0: 13.344091698003467 13.359067799 13.234210818 Calling exit ...