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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 109.8 kB / 18.88 MB, free: 2.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 195.6 kB / 22.17 MB, free: 4.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04056/0.04056, allocations: 8.543 MB / 314.7 MB, free: 320 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 59.91 kB / 438.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.09003, allocations: 54.2 MB / 492.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005705/0.09574, allocations: 3.804 MB / 496.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.09776, allocations: 1.091 MB / 497.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.09803, allocations: 11.94 kB / 497.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004704/0.0985, allocations: 198.9 kB / 498 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.09902, allocations: 226.8 kB / 498.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.09982, allocations: 377.8 kB / 498.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.1006, allocations: 0.6161 MB / 499.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003682/0.1009, allocations: 195.3 kB / 499.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003502/0.1013, allocations: 263 kB / 499.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.1016, allocations: 314.6 kB / 499.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.289e-05/0.1017, allocations: 56 kB / 500 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1019, allocations: 115.9 kB / 0.4884 GB, free: 14.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001959/0.1021, allocations: 211.3 kB / 0.4886 GB, free: 14.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.1024, allocations: 342 kB / 0.4889 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009844/0.1034, allocations: 0.8791 MB / 0.4897 GB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1034, allocations: 0 / 0.4897 GB, free: 13.53 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1034, allocations: 0 / 0.4897 GB, free: 13.53 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1034, allocations: 3.938 kB / 0.4898 GB, free: 13.52 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.001786/0.1052, allocations: 1.118 MB / 0.4908 GB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1052, allocations: 15.89 kB / 0.4909 GB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.1054, allocations: 84.38 kB / 0.4909 GB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.1062, allocations: 0.5788 MB / 0.4915 GB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.1062, allocations: 40.94 kB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.1063, allocations: 40 kB / 0.4916 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.1071, allocations: 435.8 kB / 0.492 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1071, allocations: 0 / 0.492 GB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.1072, allocations: 16 kB / 0.492 GB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1072, allocations: 12 kB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.108, allocations: 311.7 kB / 0.4923 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.1105, allocations: 1.746 MB / 0.494 GB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.1113, allocations: 313.8 kB / 0.4943 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.1116, allocations: 121.7 kB / 0.4944 GB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1116, allocations: 7.938 kB / 0.4945 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.112, allocations: 187 kB / 0.4946 GB, free: 8.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.863e-06/0.112, allocations: 0 / 0.4946 GB, free: 8.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001625/0.1137, allocations: 0.6003 MB / 0.4952 GB, free: 7.684 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.1137, allocations: 59.34 kB / 0.4953 GB, free: 7.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.1148, allocations: 0.9182 MB / 0.4962 GB, free: 6.688 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.1148, allocations: 33.7 kB / 0.4962 GB, free: 6.648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.1151, allocations: 352.5 kB / 0.4965 GB, free: 6.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.1152, allocations: 95.34 kB / 0.4966 GB, free: 6.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.1153, allocations: 78.06 kB / 0.4967 GB, free: 6.117 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1155, allocations: 378.8 kB / 0.4971 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.1158, allocations: 120.7 kB / 0.4972 GB, free: 5.621 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.1162, allocations: 196 kB / 0.4974 GB, free: 5.406 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007186/0.1169, allocations: 337.6 kB / 0.4977 GB, free: 5.043 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1169, allocations: 0 / 0.4977 GB, free: 5.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001079/0.118, allocations: 0.5172 MB / 0.4982 GB, free: 4.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.1181, allocations: 32.52 kB / 0.4982 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1181, allocations: 11.92 kB / 0.4982 GB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1183, allocations: 65.03 kB / 0.4983 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000288/0.1186, allocations: 63.91 kB / 0.4984 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.1204, allocations: 1.814 MB / 0.5001 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.1207, allocations: 55.67 kB / 0.5002 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1208, allocations: 16.06 kB / 0.5002 GB, free: 2.316 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.0003152/0.1211, allocations: 266.2 kB / 0.5005 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.1212, allocations: 67.52 kB / 0.5005 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009433/0.1221, allocations: 399.9 kB / 0.5009 GB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1221, allocations: 7.938 kB / 0.5009 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.1221, allocations: 0 / 0.5009 GB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1221, allocations: 3.984 kB / 0.5009 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.1227, allocations: 0.5363 MB / 0.5014 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1227, allocations: 0 / 0.5014 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.1229, allocations: 47.89 kB / 0.5015 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.1231, allocations: 64.81 kB / 0.5015 GB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1232, allocations: 4 kB / 0.5015 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.1249, allocations: 1.807 MB / 0.5033 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1249, allocations: 0 / 0.5033 GB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.1261, allocations: 0.5606 MB / 0.5039 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.1263, allocations: 152.7 kB / 0.504 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.1264, allocations: 8 kB / 0.504 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1266, allocations: 23.97 kB / 0.504 GB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.1267, allocations: 27.91 kB / 0.5041 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1267, allocations: 4 kB / 0.5041 GB, free: 14.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007907/0.1275, allocations: 0.6591 MB / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1275, allocations: 0 / 0.5047 GB, free: 13.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005142/0.128, allocations: 135.7 kB / 0.5048 GB, free: 13.32 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.002224/0.1302, allocations: 0.5992 MB / 0.5054 GB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1313, allocations: 473.7 kB / 0.5059 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1313, allocations: 448 / 0.5059 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.1318, allocations: 262.5 kB / 0.5061 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.1323, allocations: 96.94 kB / 0.5062 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1346, allocations: 1.396 MB / 0.5076 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.1351, allocations: 0.9362 MB / 0.5085 GB, free: 9.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1353, allocations: 47.42 kB / 0.5085 GB, free: 9.703 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1353, allocations: 0 / 0.5085 GB, free: 9.703 MB / 382.1 MB Notification: Performance of Templates: time 0.1982/0.3335, allocations: 10.67 MB / 0.519 GB, free: 36.22 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (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 & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.775228337850422] Failed to read output from testmodel.py, exit status != 0: 0.34116017911583185 0.354434498 0.24826996599999995 Calling exit ...