Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001479/0.001479, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001715/0.001715, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.554/1.554, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.04739/0.04739, allocations: 6.475 MB / 266 MB, free: 6.664 MB / 250.7 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.847e-05, allocations: 4.562 kB / 337.3 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004511/0.00454, allocations: 3.506 MB / 340.8 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.007221, allocations: 1.901 MB / 342.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003529/0.007574, allocations: 11.94 kB / 342.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005203/0.008094, allocations: 202.8 kB / 343 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007952/0.00889, allocations: 286.4 kB / 343.2 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.009745, allocations: 395 kB / 343.6 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006943/0.01044, allocations: 0.6585 MB / 344.3 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.01077, allocations: 155.2 kB / 344.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.01125, allocations: 363.1 kB / 344.8 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003989/0.01165, allocations: 255.2 kB / 345 MB, free: 3.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.01177, allocations: 60 kB / 345.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003074/0.01208, allocations: 175.8 kB / 345.3 MB, free: 3.188 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.01224, allocations: 223.3 kB / 345.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002249/0.01247, allocations: 199.4 kB / 345.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009989/0.01347, allocations: 0.9501 MB / 346.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.01347, allocations: 4 kB / 346.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01348, allocations: 0 / 346.6 MB, free: 1.816 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.0135, allocations: 0 / 346.6 MB, free: 1.816 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.001876/0.01537, allocations: 1.051 MB / 347.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.01541, allocations: 8.031 kB / 347.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002352/0.01565, allocations: 116.4 kB / 347.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007995/0.01645, allocations: 0.5567 MB / 348.4 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/0.01652, allocations: 29.45 kB / 348.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.01663, allocations: 48.31 kB / 348.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.0178, allocations: 0.4996 MB / 348.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.01782, allocations: 0 / 348.9 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.01787, allocations: 16 kB / 349 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.01788, allocations: 8 kB / 349 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.01889, allocations: 307.7 kB / 349.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.02217, allocations: 1.469 MB / 350.7 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.02327, allocations: 310.7 kB / 351 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.02368, allocations: 116.8 kB / 351.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.02373, allocations: 7.938 kB / 351.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005724/0.0243, allocations: 192.1 kB / 351.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.294e-06/0.0243, allocations: 0 / 351.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001796/0.0261, allocations: 476.6 kB / 351.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.02622, allocations: 132.5 kB / 351.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.02796, allocations: 0.9573 MB / 352.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.02804, allocations: 37.64 kB / 352.9 MB, free: 11.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004292/0.02847, allocations: 348.6 kB / 353.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.02858, allocations: 83.28 kB / 353.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.02875, allocations: 77.64 kB / 353.4 MB, free: 10.76 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002678/0.02902, allocations: 382.7 kB / 353.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.02957, allocations: 174.5 kB / 354 MB, free: 10.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006542/0.03023, allocations: 324.1 kB / 354.3 MB, free: 9.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.0312, allocations: 355.7 kB / 354.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.0312, allocations: 0 / 354.6 MB, free: 9.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001505/0.03271, allocations: 0.5318 MB / 355.2 MB, free: 8.891 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.408e-05/0.03276, allocations: 37.7 kB / 355.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.03277, allocations: 0 / 355.2 MB, free: 8.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.03298, allocations: 25.06 kB / 355.2 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.03339, allocations: 79.89 kB / 355.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.03487, allocations: 1.248 MB / 356.6 MB, free: 7.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.03535, allocations: 55.86 kB / 356.6 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.559e-05/0.0354, allocations: 23.98 kB / 356.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007972/0.0362, allocations: 369.7 kB / 357 MB, free: 6.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005744/0.03677, allocations: 316.8 kB / 357.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008521/0.03763, allocations: 320.3 kB / 357.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.03763, allocations: 0 / 357.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001376/0.039, allocations: 0.5161 MB / 358.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.409e-05/0.03906, allocations: 33.7 kB / 358.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03907, allocations: 0 / 358.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.03919, allocations: 28.78 kB / 358.2 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.03954, allocations: 80.11 kB / 358.3 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.0409, allocations: 1.245 MB / 359.5 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004531/0.04135, allocations: 47.77 kB / 359.6 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.0414, allocations: 12 kB / 359.6 MB, free: 4.137 MB / 282.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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * 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 0.0002219/0.04162, allocations: 200.4 kB / 359.8 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.04181, allocations: 79.53 kB / 359.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.04301, allocations: 376.3 kB / 360.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.04301, allocations: 3.938 kB / 360.2 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.04302, allocations: 4 kB / 360.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.04302, allocations: 4 kB / 360.2 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.04373, allocations: 404.9 kB / 360.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-06/0.04373, allocations: 0 / 360.6 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.04408, allocations: 51.89 kB / 360.7 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.0442, allocations: 20.86 kB / 360.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.04424, allocations: 7.984 kB / 360.7 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.04554, allocations: 1.257 MB / 362 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.04554, allocations: 0 / 362 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.04715, allocations: 0.5243 MB / 362.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/0.04736, allocations: 83.53 kB / 362.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.04748, allocations: 15.94 kB / 362.6 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.04781, allocations: 23.97 kB / 362.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.04792, allocations: 27.95 kB / 362.6 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.04795, allocations: 8 kB / 362.6 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001164/0.04911, allocations: 0.6826 MB / 363.3 MB, free: 220 kB / 282.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.04911, allocations: 0 / 363.3 MB, free: 220 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001014/0.05012, allocations: 247.6 kB / 363.6 MB, free: 15.97 MB / 298.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.003691/0.05382, allocations: 0.7502 MB / 364.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002187/0.056, allocations: 0.8563 MB / 365.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.05601, allocations: 3.938 kB / 365.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.05666, allocations: 251 kB / 365.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008013/0.05746, allocations: 116.3 kB / 365.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.06041, allocations: 1.298 MB / 366.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.06094, allocations: 340 kB / 367.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003551/0.06129, allocations: 84.22 kB / 367.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.06147, allocations: 48.48 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06147, allocations: 4 kB / 367.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of Templates: time 0.01839/0.07986, allocations: 7.93 MB / 375.2 MB, free: 4.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.859183707041666]