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.001765/0.001765, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00216/0.00216, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8 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.04304/0.04304, allocations: 8.537 MB / 321 MB, free: 10.64 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",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.002018/0.002018, allocations: 72.25 kB / 446.9 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1165, allocations: 55.41 MB / 0.4906 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.007162/0.1236, allocations: 3.966 MB / 0.4945 GB, free: 4.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004161/0.1278, allocations: 1.952 MB / 0.4964 GB, free: 2.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005366/0.1283, allocations: 11.94 kB / 0.4964 GB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.129, allocations: 210.8 kB / 0.4966 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009572/0.1299, allocations: 290.5 kB / 0.4969 GB, free: 2.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.131, allocations: 385.7 kB / 0.4972 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1322, allocations: 0.6745 MB / 0.4979 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.1328, allocations: 241.7 kB / 0.4981 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006381/0.1334, allocations: 298.8 kB / 0.4984 GB, free: 452 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006049/0.134, allocations: 346.5 kB / 0.4987 GB, free: 104 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1342, allocations: 60 kB / 0.4988 GB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1345, allocations: 132 kB / 0.4989 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002949/0.1348, allocations: 227.2 kB / 0.4991 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.1353, allocations: 377.8 kB / 0.4995 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1366, allocations: 0.9453 MB / 0.5004 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1366, allocations: 4 kB / 0.5004 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1366, allocations: 0 / 0.5004 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.783e-05/0.1367, allocations: 0 / 0.5004 GB, free: 14.37 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002446/0.1391, allocations: 1.105 MB / 0.5015 GB, free: 13.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.1392, allocations: 12.02 kB / 0.5015 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001608/0.1393, allocations: 82.72 kB / 0.5016 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.1395, allocations: 96.33 kB / 0.5017 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009827/0.1405, allocations: 0.5571 MB / 0.5022 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1405, allocations: 37 kB / 0.5023 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.1406, allocations: 48 kB / 0.5023 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.1416, allocations: 483.8 kB / 0.5028 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.1416, allocations: 7.984 kB / 0.5028 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.1416, allocations: 16 kB / 0.5028 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1417, allocations: 12 kB / 0.5028 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.1425, allocations: 355.7 kB / 0.5031 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.1456, allocations: 1.794 MB / 0.5049 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.1465, allocations: 330.7 kB / 0.5052 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.1469, allocations: 125.3 kB / 0.5053 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1469, allocations: 7.984 kB / 0.5053 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004875/0.1474, allocations: 203.2 kB / 0.5055 GB, free: 8.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.954e-06/0.1474, allocations: 0 / 0.5055 GB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001776/0.1492, allocations: 0.568 MB / 0.5061 GB, free: 8.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.1492, allocations: 59.41 kB / 0.5061 GB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.1506, allocations: 0.9534 MB / 0.5071 GB, free: 7.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.916e-05/0.1507, allocations: 33.7 kB / 0.5071 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.1511, allocations: 380.5 kB / 0.5075 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1512, allocations: 99.16 kB / 0.5076 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.1514, allocations: 86.08 kB / 0.5076 GB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1515, allocations: 329.9 kB / 0.5079 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.1519, allocations: 136.8 kB / 0.5081 GB, free: 6.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.1524, allocations: 203.1 kB / 0.5083 GB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000827/0.1532, allocations: 384 kB / 0.5086 GB, free: 5.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1532, allocations: 3.938 kB / 0.5086 GB, free: 5.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001231/0.1544, allocations: 0.5345 MB / 0.5092 GB, free: 5.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.1545, allocations: 33.69 kB / 0.5092 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.1545, allocations: 7.938 kB / 0.5092 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.1548, allocations: 56.81 kB / 0.5093 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.1551, allocations: 76.05 kB / 0.5093 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.157, allocations: 1.711 MB / 0.511 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.1574, allocations: 51.7 kB / 0.5111 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1574, allocations: 16 kB / 0.5111 GB, free: 3.016 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: 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.0004747/0.1579, allocations: 281.7 kB / 0.5113 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.158, allocations: 67.53 kB / 0.5114 GB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.1591, allocations: 442.2 kB / 0.5118 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1591, allocations: 8 kB / 0.5118 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1591, allocations: 3.984 kB / 0.5118 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1591, allocations: 0 / 0.5118 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.1599, allocations: 0.5547 MB / 0.5124 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1599, allocations: 0 / 0.5124 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.1601, allocations: 47.95 kB / 0.5124 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002015/0.1603, allocations: 56.81 kB / 0.5125 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1604, allocations: 11.94 kB / 0.5125 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2103/0.3707, allocations: 1.702 MB / 0.5141 GB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3707, allocations: 0 / 0.5141 GB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.372, allocations: 0.5898 MB / 0.5147 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.3722, allocations: 94.89 kB / 0.5148 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.3722, allocations: 6 kB / 0.5148 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3725, allocations: 25.38 kB / 0.5148 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.3725, allocations: 36.73 kB / 0.5149 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3726, allocations: 6.719 kB / 0.5149 GB, free: 25.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006821/0.3732, allocations: 0.6828 MB / 0.5156 GB, free: 25.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3732, allocations: 1.062 kB / 0.5156 GB, free: 25.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000508/0.3738, allocations: 137.5 kB / 0.5157 GB, free: 25.75 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.00354/0.3773, allocations: 1.649 MB / 0.5173 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3784, allocations: 0.5095 MB / 0.5178 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3784, allocations: 0 / 0.5178 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/0.3788, allocations: 272.3 kB / 0.5181 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.3794, allocations: 95.84 kB / 0.5181 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008568/0.3879, allocations: 6.548 MB / 0.5245 GB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.3884, allocations: 0.9613 MB / 0.5255 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002335/0.3886, allocations: 72.91 kB / 0.5255 GB, free: 22.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.3889, allocations: 259.4 kB / 0.5258 GB, free: 22.04 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3889, allocations: 4 kB / 0.5258 GB, free: 22.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05293/0.4419, allocations: 14.6 MB / 0.5401 GB, free: 17.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.23, allocations: 7.062 kB / 0.5401 GB, free: 17.13 MB / 382.1 MB " [Timeout remaining time 646] (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: 17.072139215888456] Failed to read output from testmodel.py, exit status != 0: 14.415105033898726 14.436693272 14.296162687 Calling exit ...