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.001838/0.001838, allocations: 85.48 kB / 19.44 MB, free: 344 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.002038/0.002038, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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.04459/0.04459, allocations: 6.494 MB / 266 MB, free: 6.633 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 2.685e-06/2.685e-06, allocations: 0 / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.917e-05, allocations: 2.312 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.004675/0.004704, allocations: 3.649 MB / 341 MB, free: 7.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.007279, allocations: 1.909 MB / 342.9 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.007612, allocations: 11.94 kB / 342.9 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.008061, allocations: 202.8 kB / 343.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006512/0.008713, allocations: 286.4 kB / 343.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.009432, allocations: 406.9 kB / 343.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.01007, allocations: 0.6586 MB / 344.5 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.01035, allocations: 151.2 kB / 344.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.01075, allocations: 359.1 kB / 345 MB, free: 3.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.01116, allocations: 267.2 kB / 345.2 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.526e-05/0.01126, allocations: 60 kB / 345.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.01154, allocations: 171.8 kB / 345.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.0117, allocations: 227.3 kB / 345.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.0119, allocations: 207.4 kB / 345.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008517/0.01275, allocations: 0.9424 MB / 346.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.01275, allocations: 4 kB / 346.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01275, allocations: 0 / 346.8 MB, free: 1.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.568e-05/0.01279, allocations: 0 / 346.8 MB, free: 1.613 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.001652/0.01444, allocations: 1.21 MB / 348 MB, free: 364 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01448, allocations: 12.02 kB / 348 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.01464, allocations: 116.4 kB / 348.1 MB, free: 236 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.01548, allocations: 492.9 kB / 348.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.01552, allocations: 29.36 kB / 348.7 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.139e-05/0.0156, allocations: 48.27 kB / 348.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.01654, allocations: 0.5151 MB / 349.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.01656, allocations: 4 kB / 349.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.0166, allocations: 16 kB / 349.2 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.01662, allocations: 8 kB / 349.2 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.01733, allocations: 267.8 kB / 349.5 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.02042, allocations: 1.844 MB / 351.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008022/0.02122, allocations: 291.2 kB / 351.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/0.02149, allocations: 99.64 kB / 351.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.02154, allocations: 4 kB / 351.7 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.02198, allocations: 181.9 kB / 351.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 1.664e-06/0.02198, allocations: 0 / 351.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001275/0.02325, allocations: 435.4 kB / 352.3 MB, free: 11.85 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.02336, allocations: 132.5 kB / 352.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.02469, allocations: 0.9019 MB / 353.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.02473, allocations: 33.7 kB / 353.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.0252, allocations: 463.2 kB / 353.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.0253, allocations: 87.34 kB / 353.9 MB, free: 10.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.02547, allocations: 95.34 kB / 354 MB, free: 10.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004465/0.02591, allocations: 0.6211 MB / 354.7 MB, free: 9.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.02626, allocations: 149.3 kB / 354.8 MB, free: 9.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.02679, allocations: 359.1 kB / 355.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007036/0.0275, allocations: 362.4 kB / 355.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0275, allocations: 0 / 355.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001073/0.02857, allocations: 0.5037 MB / 356 MB, free: 7.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.02862, allocations: 29.7 kB / 356 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.02862, allocations: 4 kB / 356 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/0.0288, allocations: 27.67 kB / 356.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.02912, allocations: 75.89 kB / 356.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.03069, allocations: 1.783 MB / 357.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.03097, allocations: 43.77 kB / 358 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.03101, allocations: 16 kB / 358 MB, free: 5.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005023/0.03151, allocations: 304.5 kB / 358.3 MB, free: 5.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004741/0.03198, allocations: 340 kB / 358.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006369/0.03262, allocations: 338.9 kB / 358.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.03262, allocations: 0 / 358.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009669/0.03359, allocations: 499.7 kB / 359.4 MB, free: 4.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.03362, allocations: 36.05 kB / 359.5 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.03363, allocations: 3.984 kB / 359.5 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-05/0.03372, allocations: 31.67 kB / 359.5 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.034, allocations: 67.84 kB / 359.6 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.03545, allocations: 1.772 MB / 361.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.03573, allocations: 43.7 kB / 361.4 MB, free: 2.172 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.03576, allocations: 16 kB / 361.4 MB, free: 2.156 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.0002305/0.03599, allocations: 288 kB / 361.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.03611, allocations: 71.58 kB / 361.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008623/0.03698, allocations: 331.3 kB / 362.1 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.03698, allocations: 7.938 kB / 362.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-06/0.03699, allocations: 0 / 362.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.03699, allocations: 0 / 362.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/0.03779, allocations: 0.5588 MB / 362.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03779, allocations: 0 / 362.6 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.03805, allocations: 43.97 kB / 362.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.41e-05/0.03814, allocations: 23.67 kB / 362.7 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.03817, allocations: 16 kB / 362.7 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.03962, allocations: 1.771 MB / 364.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.03962, allocations: 0 / 364.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.04076, allocations: 0.4912 MB / 365 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001902/0.04095, allocations: 75.5 kB / 365.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.04101, allocations: 8 kB / 365.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.04123, allocations: 23.97 kB / 365.1 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.04133, allocations: 23.95 kB / 365.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.04135, allocations: 8 kB / 365.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008445/0.0422, allocations: 0.5536 MB / 365.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0422, allocations: 0 / 365.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008606/0.04306, allocations: 247.3 kB / 365.9 MB, free: 13.43 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.005296/0.04835, allocations: 0.7644 MB / 366.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.05039, allocations: 0.9758 MB / 367.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0504, allocations: 0 / 367.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005221/0.05092, allocations: 305.4 kB / 368 MB, free: 11.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.05159, allocations: 111.6 kB / 368.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.05395, allocations: 1.148 MB / 369.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.05436, allocations: 325.6 kB / 369.5 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.0546, allocations: 72.22 kB / 369.6 MB, free: 9.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.05474, allocations: 40.48 kB / 369.6 MB, free: 9.891 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.05474, allocations: 0 / 369.6 MB, free: 9.891 MB / 298.7 MB Notification: Performance of Templates: time 0.01793/0.07267, allocations: 7.933 MB / 377.6 MB, free: 2.031 MB / 298.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: 4.817054116982035]