Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00549/0.00549, allocations: 99.02 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001362, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1924/0.1924, allocations: 8 MB / 298.5 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.91 kB / 413.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2918, allocations: 51.24 MB / 464.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT01): time 0.004665/0.2965, allocations: 3.503 MB / 467.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.2989, allocations: 1.645 MB / 469.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.2992, allocations: 10.31 kB / 469.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.2998, allocations: 325.3 kB / 469.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005477/0.3004, allocations: 277.1 kB / 470.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008715/0.3013, allocations: 382 kB / 470.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.302, allocations: 0.5733 MB / 471.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003078/0.3023, allocations: 181.2 kB / 471.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002796/0.3026, allocations: 239.8 kB / 471.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.303, allocations: 336.5 kB / 471.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-05/0.3031, allocations: 44.62 kB / 471.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.3034, allocations: 121 kB / 472 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.3036, allocations: 223.5 kB / 472.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.3039, allocations: 335.4 kB / 472.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3049, allocations: 0.852 MB / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.305, allocations: 0 / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.305, allocations: 0 / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.305, allocations: 1.219 kB / 473.4 MB, free: 12.85 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00159/0.3066, allocations: 1.148 MB / 474.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3066, allocations: 14.48 kB / 474.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.3068, allocations: 92.55 kB / 474.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007288/0.3075, allocations: 0.6002 MB / 475.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3075, allocations: 24.97 kB / 475.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.3076, allocations: 39.97 kB / 475.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000724/0.3083, allocations: 396 kB / 475.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.3084, allocations: 6.125 kB / 475.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3084, allocations: 14.75 kB / 475.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.3084, allocations: 8.25 kB / 475.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.3092, allocations: 288.9 kB / 476 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.3114, allocations: 1.59 MB / 477.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/0.3122, allocations: 311.4 kB / 477.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3126, allocations: 116.3 kB / 478 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.3126, allocations: 2.062 kB / 478 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.313, allocations: 177.9 kB / 478.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.313, allocations: 0 / 478.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00134/0.3144, allocations: 0.53 MB / 478.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3145, allocations: 137.1 kB / 478.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3157, allocations: 1.141 MB / 480 MB, free: 8.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3158, allocations: 31.92 kB / 480 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.316, allocations: 382.1 kB / 480.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/0.3161, allocations: 85.02 kB / 480.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-05/0.3162, allocations: 62.53 kB / 480.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.3162, allocations: 317.2 kB / 480.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.3165, allocations: 119.2 kB / 481 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003498/0.3169, allocations: 196.7 kB / 481.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.3175, allocations: 317 kB / 481.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3176, allocations: 0 / 481.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009129/0.3185, allocations: 455.4 kB / 481.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.3185, allocations: 34.73 kB / 481.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3185, allocations: 1.312 kB / 481.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.3187, allocations: 32.5 kB / 482 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.319, allocations: 56.02 kB / 482 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006894/0.3197, allocations: 1.369 MB / 483.4 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.32, allocations: 47.61 kB / 483.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.32, allocations: 12.03 kB / 483.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004866/0.3205, allocations: 340.8 kB / 483.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003081/0.3208, allocations: 181.9 kB / 484 MB, free: 5.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005444/0.3214, allocations: 300.7 kB / 484.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-06/0.3214, allocations: 0 / 484.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007932/0.3222, allocations: 418.9 kB / 484.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3222, allocations: 36.27 kB / 484.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.3222, allocations: 2.219 kB / 484.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.449e-05/0.3223, allocations: 23.72 kB / 484.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.3226, allocations: 57.36 kB / 484.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000599/0.3232, allocations: 1.374 MB / 486.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3235, allocations: 40.23 kB / 486.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.3235, allocations: 16.28 kB / 486.2 MB, free: 3.508 MB / 350.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 (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 (31): * Single equations (assignments): 29 * 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.0001076/0.3236, allocations: 199 kB / 486.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.3237, allocations: 76.66 kB / 486.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.3245, allocations: 376.7 kB / 486.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3246, allocations: 1.688 kB / 486.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3246, allocations: 5.266 kB / 486.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3246, allocations: 0 / 486.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.3251, allocations: 0.5462 MB / 487.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3251, allocations: 0 / 487.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.3253, allocations: 45.38 kB / 487.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-05/0.3254, allocations: 20.81 kB / 487.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.3254, allocations: 10.75 kB / 487.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000591/0.326, allocations: 1.372 MB / 488.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.326, allocations: 0 / 488.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3271, allocations: 0.5072 MB / 489.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3273, allocations: 166.7 kB / 489.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.3274, allocations: 6.188 kB / 489.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3276, allocations: 24.97 kB / 489.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.3277, allocations: 23.09 kB / 489.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3277, allocations: 11.8 kB / 489.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009093/0.3286, allocations: 0.8341 MB / 490.4 MB, free: 264 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.3286, allocations: 0 / 490.4 MB, free: 264 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000708/0.3294, allocations: 219.6 kB / 490.6 MB, free: 208 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * 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 (22): * Single equations (assignments): 19 * 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.002377/0.3317, allocations: 0.6412 MB / 491.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3334, allocations: 0.7388 MB / 492 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3334, allocations: 0 / 492 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005009/0.3339, allocations: 251.8 kB / 492.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.3345, allocations: 104.3 kB / 492.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3371, allocations: 1.494 MB / 493.9 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.3378, allocations: 0.9586 MB / 494.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.3381, allocations: 88.22 kB / 494.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3382, allocations: 42.58 kB / 494.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3382, allocations: 0 / 494.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of Templates: time 0.01648/0.3547, allocations: 7.018 MB / 0.4902 GB, free: 7.078 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT01.pipe 2>&1)