Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.0008652/0.0008652, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001222/0.001222, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.8888/0.8888, allocations: 177.1 MB / 203.8 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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.03042/0.03042, allocations: 6.499 MB / 266.8 MB, free: 6.48 MB / 250.7 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 285.3 MB, free: 3.957 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.343e-05, allocations: 2.312 kB / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.003488/0.003501, allocations: 3.637 MB / 288.9 MB, free: 300 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1007/0.1042, allocations: 1.965 MB / 290.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1044, allocations: 9.688 kB / 290.9 MB, free: 19.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000409/0.1049, allocations: 204.8 kB / 291.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.1054, allocations: 286.3 kB / 291.4 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006004/0.106, allocations: 406 kB / 291.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000544/0.1065, allocations: 0.6506 MB / 292.4 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1067, allocations: 157.5 kB / 292.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.1071, allocations: 368.2 kB / 292.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.1074, allocations: 241.8 kB / 293.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.1075, allocations: 58.75 kB / 293.2 MB, free: 18.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1077, allocations: 188 kB / 293.4 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.1079, allocations: 221.8 kB / 293.6 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.108, allocations: 206.1 kB / 293.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.1086, allocations: 0.638 MB / 294.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1086, allocations: 1.734 kB / 294.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1086, allocations: 0 / 294.5 MB, free: 17.96 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.1087, allocations: 0 / 294.5 MB, free: 17.96 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.0009979/0.1097, allocations: 0.996 MB / 295.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.679e-05/0.1097, allocations: 8.906 kB / 295.5 MB, free: 17.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.1098, allocations: 78.42 kB / 295.5 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.1102, allocations: 395.2 kB / 295.9 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1102, allocations: 29.95 kB / 296 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.1103, allocations: 39.16 kB / 296 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1106, allocations: 404.5 kB / 296.4 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1106, allocations: 2.156 kB / 296.4 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1106, allocations: 15.91 kB / 296.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.1107, allocations: 8.094 kB / 296.4 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1108, allocations: 92.28 kB / 296.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.1119, allocations: 1.044 MB / 297.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1121, allocations: 150.7 kB / 297.7 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.1121, allocations: 33.3 kB / 297.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1122, allocations: 5.062 kB / 297.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.1123, allocations: 104.9 kB / 297.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.1123, allocations: 1.344 kB / 297.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003489/0.1126, allocations: 197.9 kB / 298 MB, free: 15.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1127, allocations: 137.4 kB / 298.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005527/0.1132, allocations: 0.6104 MB / 298.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1133, allocations: 32.92 kB / 298.8 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.1134, allocations: 253.9 kB / 299.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.1134, allocations: 90.41 kB / 299.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.1135, allocations: 73.95 kB / 299.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.1136, allocations: 383.4 kB / 299.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1137, allocations: 67.92 kB / 299.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1138, allocations: 233 kB / 299.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.114, allocations: 200.4 kB / 300.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.114, allocations: 5.438 kB / 300.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003339/0.1143, allocations: 275.5 kB / 300.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1143, allocations: 34.62 kB / 300.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1143, allocations: 1.094 kB / 300.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001152/0.1145, allocations: 19.52 kB / 300.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.1146, allocations: 73.14 kB / 300.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000399/0.115, allocations: 1.169 MB / 301.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.1152, allocations: 41.77 kB / 301.7 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1152, allocations: 10.98 kB / 301.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001158/0.1153, allocations: 152 kB / 301.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.77e-05/0.1154, allocations: 226.5 kB / 302.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001325/0.1155, allocations: 182.5 kB / 302.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.1155, allocations: 1.906 kB / 302.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0002266/0.1157, allocations: 279.2 kB / 302.5 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1158, allocations: 34.95 kB / 302.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.1158, allocations: 1.781 kB / 302.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.782e-05/0.1158, allocations: 21.27 kB / 302.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1159, allocations: 74.05 kB / 302.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002905/0.1162, allocations: 1.158 MB / 303.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.1163, allocations: 31.44 kB / 303.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.1164, allocations: 12 kB / 303.9 MB, free: 11.27 MB / 266.7 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 (iceT.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.1164, allocations: 198.5 kB / 304 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.1165, allocations: 47.34 kB / 304.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.1167, allocations: 192 kB / 304.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1167, allocations: 4.969 kB / 304.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1167, allocations: 7.75 kB / 304.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1167, allocations: 0 / 304.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.1169, allocations: 274.2 kB / 304.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1169, allocations: 0 / 304.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.117, allocations: 44.58 kB / 304.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.821e-05/0.1171, allocations: 19.64 kB / 304.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1171, allocations: 6.844 kB / 304.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/0.1174, allocations: 1.156 MB / 305.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1174, allocations: 0 / 305.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1176, allocations: 226.1 kB / 306 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1177, allocations: 71.14 kB / 306.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.1177, allocations: 3.312 kB / 306.1 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.1178, allocations: 21.77 kB / 306.1 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.1178, allocations: 37.89 kB / 306.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1178, allocations: 6.938 kB / 306.1 MB, free: 9.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002428/0.1181, allocations: 319.7 kB / 306.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1181, allocations: 0 / 306.5 MB, free: 9.375 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.1184, allocations: 248.7 kB / 306.7 MB, free: 9.305 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001633/0.1201, allocations: 0.9059 MB / 307.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.1205, allocations: 0.6368 MB / 308.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.1205, allocations: 5.688 kB / 308.2 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.1206, allocations: 185.7 kB / 308.4 MB, free: 8.387 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.1209, allocations: 106.7 kB / 308.5 MB, free: 8.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1221, allocations: 1.07 MB / 309.6 MB, free: 7.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.1222, allocations: 161 kB / 309.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.1224, allocations: 66.67 kB / 309.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/0.1225, allocations: 142.1 kB / 310 MB, free: 7.398 MB / 266.7 MB Notification: Performance of SimCode: time 5.62e-07/0.1225, allocations: 0 / 310 MB, free: 7.398 MB / 266.7 MB Notification: Performance of Templates: time 0.009051/0.1316, allocations: 8.444 MB / 318.4 MB, free: 15.56 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.79206840088591]