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.001422/0.001422, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001653/0.001653, allocations: 214.1 kB / 22.25 MB, free: 4.855 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 7.793 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.04324/0.04324, allocations: 8.548 MB / 321 MB, free: 10.42 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.001972/0.001972, allocations: 67.91 kB / 446.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 55.42 MB / 0.4905 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006066/0.1111, allocations: 3.677 MB / 0.4941 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1142, allocations: 1.878 MB / 0.4959 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1144, allocations: 11.94 kB / 0.4959 GB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005485/0.115, allocations: 218.8 kB / 0.4962 GB, free: 2.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000761/0.1157, allocations: 290.4 kB / 0.4964 GB, free: 2.047 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.1165, allocations: 385.2 kB / 0.4968 GB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000855/0.1174, allocations: 0.6861 MB / 0.4975 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004936/0.1179, allocations: 229.7 kB / 0.4977 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.1184, allocations: 294.8 kB / 0.498 GB, free: 476 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.1188, allocations: 310.5 kB / 0.4983 GB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-05/0.1189, allocations: 60 kB / 0.4983 GB, free: 104 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1192, allocations: 128 kB / 0.4984 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002472/0.1194, allocations: 231.2 kB / 0.4987 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1197, allocations: 286.3 kB / 0.4989 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1208, allocations: 0.9648 MB / 0.4999 GB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1208, allocations: 0 / 0.4999 GB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1208, allocations: 0 / 0.4999 GB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1209, allocations: 0 / 0.4999 GB, free: 14.5 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.001848/0.1227, allocations: 1.097 MB / 0.501 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1227, allocations: 12.03 kB / 0.501 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.1228, allocations: 86.64 kB / 0.501 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.123, allocations: 96.33 kB / 0.5011 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008982/0.1239, allocations: 0.5493 MB / 0.5017 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.109e-05/0.1239, allocations: 37 kB / 0.5017 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/0.124, allocations: 48 kB / 0.5018 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.125, allocations: 487.8 kB / 0.5022 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.125, allocations: 4 kB / 0.5022 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.125, allocations: 16 kB / 0.5022 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.125, allocations: 11.98 kB / 0.5023 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008901/0.1259, allocations: 359.7 kB / 0.5026 GB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.1287, allocations: 1.658 MB / 0.5042 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1298, allocations: 322.7 kB / 0.5045 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.1303, allocations: 133.3 kB / 0.5046 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.895e-05/0.1304, allocations: 8 kB / 0.5047 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005402/0.1309, allocations: 195.3 kB / 0.5048 GB, free: 9.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.1309, allocations: 3.938 kB / 0.5048 GB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001866/0.1328, allocations: 0.5758 MB / 0.5054 GB, free: 8.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1328, allocations: 55.48 kB / 0.5055 GB, free: 8.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.1341, allocations: 0.9535 MB / 0.5064 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1341, allocations: 29.7 kB / 0.5064 GB, free: 7.574 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.1346, allocations: 388.4 kB / 0.5068 GB, free: 7.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1347, allocations: 103.1 kB / 0.5069 GB, free: 7.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.1349, allocations: 82.12 kB / 0.507 GB, free: 7.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.135, allocations: 318 kB / 0.5073 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.1355, allocations: 170.5 kB / 0.5074 GB, free: 6.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.1359, allocations: 236.8 kB / 0.5077 GB, free: 6.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.1367, allocations: 364 kB / 0.508 GB, free: 5.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1367, allocations: 7.938 kB / 0.508 GB, free: 5.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001307/0.138, allocations: 0.5674 MB / 0.5086 GB, free: 5.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.1381, allocations: 37.69 kB / 0.5086 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1382, allocations: 3.938 kB / 0.5086 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002948/0.1384, allocations: 64.75 kB / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/0.1388, allocations: 80.05 kB / 0.5087 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.1407, allocations: 1.695 MB / 0.5104 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.141, allocations: 47.75 kB / 0.5104 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.1411, allocations: 20.05 kB / 0.5105 GB, free: 3.203 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.0003707/0.1415, allocations: 269.7 kB / 0.5107 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1416, allocations: 67.53 kB / 0.5108 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.1428, allocations: 442.2 kB / 0.5112 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1428, allocations: 4 kB / 0.5112 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1428, allocations: 0 / 0.5112 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1428, allocations: 3.938 kB / 0.5112 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.1435, allocations: 0.504 MB / 0.5117 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1435, allocations: 192 / 0.5117 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.1438, allocations: 47.97 kB / 0.5118 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.144, allocations: 56.81 kB / 0.5118 GB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.144, allocations: 12 kB / 0.5118 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1894/0.3334, allocations: 1.683 MB / 0.5135 GB, free: 26.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3334, allocations: 0 / 0.5135 GB, free: 26.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.3348, allocations: 0.5981 MB / 0.514 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.335, allocations: 91.83 kB / 0.5141 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.335, allocations: 7.562 kB / 0.5141 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.3352, allocations: 28.67 kB / 0.5142 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.3353, allocations: 33.64 kB / 0.5142 GB, free: 26.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3354, allocations: 9.625 kB / 0.5142 GB, free: 26.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.3361, allocations: 0.6782 MB / 0.5149 GB, free: 25.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3361, allocations: 1.438 kB / 0.5149 GB, free: 25.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.3366, allocations: 141.9 kB / 0.515 GB, free: 25.98 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.003703/0.3403, allocations: 1.688 MB / 0.5167 GB, free: 25.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3413, allocations: 0.5291 MB / 0.5172 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3413, allocations: 0 / 0.5172 GB, free: 25.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004537/0.3418, allocations: 281.6 kB / 0.5174 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.3423, allocations: 97.16 kB / 0.5175 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008905/0.3512, allocations: 6.649 MB / 0.524 GB, free: 22.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.3516, allocations: 370.4 kB / 0.5244 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.3518, allocations: 76.88 kB / 0.5245 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.3521, allocations: 260.5 kB / 0.5247 GB, free: 22.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3521, allocations: 0 / 0.5247 GB, free: 22.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05722/0.4093, allocations: 15.09 MB / 0.5394 GB, free: 17.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.47, allocations: 5.031 kB / 0.5394 GB, free: 17.24 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: 16.188752199988812] Failed to read output from testmodel.py, exit status != 0: 13.651720630005002 13.66284434 13.539792248 Calling exit ...