Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001331/0.001331, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002098/0.002098, allocations: 215.5 kB / 22.25 MB, free: 5.082 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04233/0.04233, allocations: 8.529 MB / 321 MB, free: 10.71 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_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.001997/0.001997, allocations: 63.91 kB / 447 MB, free: 24 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1069, allocations: 55.41 MB / 0.4906 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006218/0.1131, allocations: 3.98 MB / 0.4945 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00335/0.1165, allocations: 1.944 MB / 0.4964 GB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.1168, allocations: 11.94 kB / 0.4964 GB, free: 2.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005312/0.1173, allocations: 206.9 kB / 0.4966 GB, free: 2.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000695/0.118, allocations: 290.5 kB / 0.4969 GB, free: 2.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008548/0.1189, allocations: 381.2 kB / 0.4972 GB, free: 1.691 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.1197, allocations: 0.6783 MB / 0.4979 GB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004596/0.1201, allocations: 241.7 kB / 0.4981 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004324/0.1206, allocations: 294.8 kB / 0.4984 GB, free: 488 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.121, allocations: 354.5 kB / 0.4987 GB, free: 132 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.346e-05/0.1211, allocations: 63.94 kB / 0.4988 GB, free: 68 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.1214, allocations: 120 kB / 0.4989 GB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002671/0.1216, allocations: 235.2 kB / 0.4991 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.122, allocations: 373.8 kB / 0.4995 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.1231, allocations: 0.9492 MB / 0.5004 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1231, allocations: 0 / 0.5004 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1231, allocations: 0 / 0.5004 GB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.1231, allocations: 0 / 0.5004 GB, free: 14.4 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.001902/0.125, allocations: 1.105 MB / 0.5015 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1251, allocations: 8.031 kB / 0.5015 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1252, allocations: 90.7 kB / 0.5016 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1253, allocations: 96.33 kB / 0.5017 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.1262, allocations: 0.5648 MB / 0.5022 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.1263, allocations: 37 kB / 0.5023 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.197e-05/0.1263, allocations: 48 kB / 0.5023 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.1273, allocations: 479.8 kB / 0.5028 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1273, allocations: 7.938 kB / 0.5028 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.1273, allocations: 24 kB / 0.5028 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1273, allocations: 8 kB / 0.5028 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008941/0.1282, allocations: 347.8 kB / 0.5031 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.131, allocations: 1.798 MB / 0.5049 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.1318, allocations: 330.7 kB / 0.5052 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.1321, allocations: 125.2 kB / 0.5053 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.1322, allocations: 8 kB / 0.5053 GB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.1326, allocations: 199.3 kB / 0.5055 GB, free: 8.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.1326, allocations: 0 / 0.5055 GB, free: 8.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001683/0.1343, allocations: 0.5719 MB / 0.5061 GB, free: 8.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1343, allocations: 59.41 kB / 0.5061 GB, free: 8.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1355, allocations: 0.9496 MB / 0.5071 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.1356, allocations: 37.7 kB / 0.5071 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.1359, allocations: 380.5 kB / 0.5075 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.731e-05/0.136, allocations: 95.17 kB / 0.5076 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.1361, allocations: 86.08 kB / 0.5076 GB, free: 6.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1362, allocations: 322 kB / 0.508 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.1366, allocations: 140.8 kB / 0.5081 GB, free: 6.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/0.137, allocations: 215 kB / 0.5083 GB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.1378, allocations: 372.1 kB / 0.5086 GB, free: 5.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.1378, allocations: 4 kB / 0.5086 GB, free: 5.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001161/0.139, allocations: 0.5345 MB / 0.5092 GB, free: 5.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.139, allocations: 33.7 kB / 0.5092 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.139, allocations: 3.938 kB / 0.5092 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.1393, allocations: 68.75 kB / 0.5093 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.1396, allocations: 75.98 kB / 0.5093 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.1415, allocations: 1.711 MB / 0.511 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1418, allocations: 47.7 kB / 0.5111 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.1418, allocations: 19.98 kB / 0.5111 GB, free: 3.039 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.000373/0.1422, allocations: 277.7 kB / 0.5113 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.1423, allocations: 71.53 kB / 0.5114 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.1433, allocations: 438.2 kB / 0.5118 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.1433, allocations: 8 kB / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1433, allocations: 0 / 0.5118 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1433, allocations: 3.984 kB / 0.5118 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.144, allocations: 0.5509 MB / 0.5124 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.144, allocations: 0 / 0.5124 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.1442, allocations: 47.91 kB / 0.5124 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001912/0.1444, allocations: 56.81 kB / 0.5125 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.1444, allocations: 7.984 kB / 0.5125 GB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1904/0.3348, allocations: 1.706 MB / 0.5142 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3348, allocations: 1.344 kB / 0.5142 GB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3362, allocations: 0.5913 MB / 0.5147 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/0.3363, allocations: 91.94 kB / 0.5148 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.3364, allocations: 10.41 kB / 0.5148 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.3366, allocations: 21.66 kB / 0.5149 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.3367, allocations: 35.75 kB / 0.5149 GB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.3367, allocations: 9.406 kB / 0.5149 GB, free: 25.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.3375, allocations: 0.6803 MB / 0.5156 GB, free: 25.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3375, allocations: 0 / 0.5156 GB, free: 25.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.338, allocations: 142.9 kB / 0.5157 GB, free: 25.71 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.00346/0.3414, allocations: 1.64 MB / 0.5173 GB, free: 25.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.3425, allocations: 0.506 MB / 0.5178 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3425, allocations: 0 / 0.5178 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004556/0.3429, allocations: 282.2 kB / 0.5181 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.3434, allocations: 100.2 kB / 0.5182 GB, free: 24.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009643/0.3531, allocations: 6.549 MB / 0.5246 GB, free: 22.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.3536, allocations: 0.9649 MB / 0.5255 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002535/0.3539, allocations: 70.67 kB / 0.5256 GB, free: 22.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/0.3542, allocations: 259.9 kB / 0.5258 GB, free: 22.01 MB / 382.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3542, allocations: 1.859 kB / 0.5258 GB, free: 22.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05222/0.4064, allocations: 14.61 MB / 0.5401 GB, free: 17.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.46, allocations: 3.938 kB / 0.5401 GB, free: 17.11 MB / 382.1 MB " [Timeout remaining time 645] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.24543583788909] Failed to read output from testmodel.py, exit status != 0: 14.647942799841985 14.671570667 14.544323808 Calling exit ...