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.001677/0.001677, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001797/0.001797, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04289/0.04289, allocations: 8.538 MB / 313 MB, free: 1.902 MB / 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-main/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.001937/0.001937, allocations: 63.91 kB / 436.5 MB, free: 9.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2815, allocations: 54.19 MB / 490.7 MB, free: 26.7 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005188/0.2867, allocations: 3.799 MB / 494.5 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2887, allocations: 1.097 MB / 495.6 MB, free: 23.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.289, allocations: 19.94 kB / 495.6 MB, free: 23.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.2894, allocations: 194 kB / 495.8 MB, free: 23.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004627/0.2899, allocations: 229.7 kB / 496.1 MB, free: 23.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.2906, allocations: 380.8 kB / 496.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.2912, allocations: 0.6199 MB / 497.1 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.2916, allocations: 200 kB / 497.2 MB, free: 22.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2919, allocations: 253.7 kB / 497.5 MB, free: 22.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.2922, allocations: 317.8 kB / 497.8 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.2923, allocations: 55 kB / 497.9 MB, free: 21.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.2925, allocations: 116.5 kB / 498 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.2926, allocations: 217 kB / 498.2 MB, free: 21.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2928, allocations: 340.1 kB / 498.5 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.2936, allocations: 0.8769 MB / 499.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2936, allocations: 0 / 499.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2936, allocations: 0 / 499.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.2936, allocations: 1.094 kB / 499.4 MB, free: 20.78 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.00151/0.2951, allocations: 1.114 MB / 0.4888 GB, free: 19.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2952, allocations: 13.3 kB / 0.4888 GB, free: 19.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2953, allocations: 87.28 kB / 0.4889 GB, free: 19.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006218/0.2959, allocations: 0.5828 MB / 0.4894 GB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.508e-05/0.2959, allocations: 34.56 kB / 0.4895 GB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.47e-05/0.296, allocations: 43.75 kB / 0.4895 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.2967, allocations: 444.3 kB / 0.4899 GB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2968, allocations: 1.406 kB / 0.4899 GB, free: 19.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2968, allocations: 14.75 kB / 0.49 GB, free: 19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2968, allocations: 10.16 kB / 0.49 GB, free: 19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.2975, allocations: 312.2 kB / 0.4903 GB, free: 18.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.2996, allocations: 1.745 MB / 0.492 GB, free: 17.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007585/0.3004, allocations: 307.4 kB / 0.4923 GB, free: 17.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002782/0.3007, allocations: 116.8 kB / 0.4924 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.184e-05/0.3007, allocations: 3.438 kB / 0.4924 GB, free: 17.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004095/0.3011, allocations: 194.9 kB / 0.4926 GB, free: 17.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.384e-06/0.3011, allocations: 1.281 kB / 0.4926 GB, free: 17.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001664/0.3028, allocations: 0.5983 MB / 0.4931 GB, free: 16.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3028, allocations: 62.62 kB / 0.4932 GB, free: 16.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.3041, allocations: 0.9215 MB / 0.4941 GB, free: 16.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.3041, allocations: 32.39 kB / 0.4941 GB, free: 16.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.3044, allocations: 357.7 kB / 0.4945 GB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.766e-05/0.3045, allocations: 86.06 kB / 0.4946 GB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3046, allocations: 70.73 kB / 0.4946 GB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3047, allocations: 382.1 kB / 0.495 GB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.305, allocations: 125.9 kB / 0.4951 GB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3053, allocations: 192.9 kB / 0.4953 GB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006111/0.306, allocations: 344.7 kB / 0.4956 GB, free: 14.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.306, allocations: 1.25 kB / 0.4956 GB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001036/0.307, allocations: 0.5175 MB / 0.4961 GB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.307, allocations: 36.02 kB / 0.4962 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.307, allocations: 2.312 kB / 0.4962 GB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.3073, allocations: 57.41 kB / 0.4962 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/0.3076, allocations: 72.08 kB / 0.4963 GB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.309, allocations: 1.816 MB / 0.4981 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.3094, allocations: 48.69 kB / 0.4981 GB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3094, allocations: 22.22 kB / 0.4981 GB, free: 12.74 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.0003115/0.3097, allocations: 258.7 kB / 0.4984 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/0.3098, allocations: 71.98 kB / 0.4984 GB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.3107, allocations: 402.7 kB / 0.4988 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3107, allocations: 6.031 kB / 0.4988 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.3107, allocations: 5.094 kB / 0.4988 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3107, allocations: 7.984 kB / 0.4988 GB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.3112, allocations: 0.5291 MB / 0.4994 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3112, allocations: 0 / 0.4994 GB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.3116, allocations: 44.81 kB / 0.4994 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.3119, allocations: 54.03 kB / 0.4995 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.3119, allocations: 10.33 kB / 0.4995 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3131, allocations: 1.817 MB / 0.5012 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3131, allocations: 1.219 kB / 0.5012 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3143, allocations: 0.5463 MB / 0.5018 GB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3144, allocations: 163.3 kB / 0.5019 GB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.3145, allocations: 5.812 kB / 0.5019 GB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3147, allocations: 25.81 kB / 0.502 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.3148, allocations: 26.25 kB / 0.502 GB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3148, allocations: 10.03 kB / 0.502 GB, free: 9.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009275/0.3157, allocations: 0.6605 MB / 0.5026 GB, free: 9.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3157, allocations: 0 / 0.5026 GB, free: 9.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006464/0.3164, allocations: 134.5 kB / 0.5028 GB, free: 9.133 MB / 366.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.002344/0.3187, allocations: 0.5866 MB / 0.5033 GB, free: 8.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3199, allocations: 484.1 kB / 0.5038 GB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3199, allocations: 0 / 0.5038 GB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.3203, allocations: 254.5 kB / 0.5041 GB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.3208, allocations: 99.59 kB / 0.5041 GB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.323, allocations: 1.354 MB / 0.5055 GB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.3235, allocations: 0.9407 MB / 0.5064 GB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.3237, allocations: 78.75 kB / 0.5065 GB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.3238, allocations: 33.56 kB / 0.5065 GB, free: 6.613 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3238, allocations: 0 / 0.5065 GB, free: 6.613 MB / 366.1 MB Notification: Performance of Templates: time 0.01114/0.335, allocations: 6.749 MB / 0.5131 GB, free: 0.8672 MB / 366.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: 4.816675174050033]