Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.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.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008876/0.000888, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006267/0.006267, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1728/0.1728, allocations: 8.929 MB / 300.4 MB, free: 3.004 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 8 kB / 363.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 52.48 MB / 416.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.004256/0.1089, allocations: 3.279 MB / 419.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1113, allocations: 1.659 MB / 421 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1115, allocations: 8 kB / 421 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.112, allocations: 311.1 kB / 421.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.1125, allocations: 267 kB / 421.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.1133, allocations: 347.3 kB / 421.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006703/0.1139, allocations: 0.6081 MB / 422.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.1143, allocations: 210.4 kB / 422.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.1146, allocations: 223 kB / 422.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004297/0.1151, allocations: 314.7 kB / 423.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.1151, allocations: 19.94 kB / 423.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1153, allocations: 71.97 kB / 423.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.1156, allocations: 267.1 kB / 423.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.1159, allocations: 414.8 kB / 424 MB, free: 224 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1743/0.2902, allocations: 1.037 MB / 425 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2903, allocations: 0 / 425 MB, free: 36.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2903, allocations: 3.141 kB / 425 MB, free: 36.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2903, allocations: 2.781 kB / 425 MB, free: 36.5 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001607/0.2919, allocations: 1.22 MB / 426.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.2919, allocations: 8.469 kB / 426.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.2921, allocations: 113.3 kB / 426.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.2929, allocations: 0.8211 MB / 427.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2929, allocations: 33.19 kB / 427.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.293, allocations: 41.03 kB / 427.3 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007424/0.2938, allocations: 435.4 kB / 427.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2938, allocations: 2.219 kB / 427.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.2938, allocations: 12.91 kB / 427.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2938, allocations: 8.875 kB / 427.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.2946, allocations: 346.5 kB / 428.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.297, allocations: 1.955 MB / 430 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008764/0.2978, allocations: 365 kB / 430.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.2982, allocations: 138 kB / 430.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2982, allocations: 3.828 kB / 430.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004467/0.2987, allocations: 205.7 kB / 430.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.2987, allocations: 3.469 kB / 430.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001391/0.3001, allocations: 0.6071 MB / 431.3 MB, free: 34.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.3001, allocations: 87.64 kB / 431.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.3019, allocations: 1.654 MB / 433.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.97e-05/0.3019, allocations: 30.58 kB / 433.1 MB, free: 33.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.3022, allocations: 471.3 kB / 433.6 MB, free: 33.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3023, allocations: 81.12 kB / 433.6 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3024, allocations: 38.84 kB / 433.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.3024, allocations: 325.8 kB / 434 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003746/0.3028, allocations: 148.9 kB / 434.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.3032, allocations: 227.3 kB / 434.4 MB, free: 33.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.304, allocations: 383.9 kB / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.304, allocations: 3 kB / 434.7 MB, free: 33.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001101/0.3051, allocations: 0.5507 MB / 435.3 MB, free: 33.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.3052, allocations: 175.5 kB / 435.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3052, allocations: 3.188 kB / 435.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/0.3054, allocations: 23.73 kB / 435.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3058, allocations: 91.12 kB / 435.6 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007355/0.3065, allocations: 1.263 MB / 436.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.3069, allocations: 67.56 kB / 436.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.3069, allocations: 12.78 kB / 436.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-06/0.3069, allocations: 3.375 kB / 436.9 MB, free: 31.62 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008146/0.3077, allocations: 420.1 kB / 437.3 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3078, allocations: 4.578 kB / 437.3 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.585e-05/0.3078, allocations: 23.31 kB / 437.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.3081, allocations: 80.2 kB / 437.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.3088, allocations: 1.275 MB / 438.7 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.3091, allocations: 48.58 kB / 438.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.3091, allocations: 17.66 kB / 438.8 MB, free: 30.28 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 (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.0004489/0.3096, allocations: 458.7 kB / 439.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.3097, allocations: 92.66 kB / 439.3 MB, free: 30.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.3106, allocations: 450.5 kB / 439.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3106, allocations: 3.188 kB / 439.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3106, allocations: 7.219 kB / 439.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3107, allocations: 4 kB / 439.8 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000589/0.3112, allocations: 0.6672 MB / 440.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3113, allocations: 1.734 kB / 440.4 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.3115, allocations: 70.7 kB / 440.5 MB, free: 29.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-05/0.3116, allocations: 17.55 kB / 440.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3117, allocations: 9.875 kB / 440.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005666/0.3122, allocations: 1.277 MB / 441.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3122, allocations: 0 / 441.8 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3134, allocations: 0.5951 MB / 442.4 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.3136, allocations: 219.5 kB / 442.6 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.3137, allocations: 11.77 kB / 442.6 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.314, allocations: 36.02 kB / 442.7 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.3141, allocations: 22.97 kB / 442.7 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.3141, allocations: 6.188 kB / 442.7 MB, free: 28.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001198/0.3153, allocations: 1.19 MB / 443.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.3153, allocations: 0 / 443.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007128/0.316, allocations: 266 kB / 444.1 MB, free: 28.05 MB / 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 (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.002297/0.3183, allocations: 0.5981 MB / 444.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.3199, allocations: 0.8633 MB / 445.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3199, allocations: 3.391 kB / 445.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.3203, allocations: 273.7 kB / 445.9 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006879/0.321, allocations: 108.8 kB / 446 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002617/0.3237, allocations: 2.262 MB / 448.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.3242, allocations: 1.086 MB / 449.3 MB, free: 25.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3245, allocations: 131.2 kB / 449.5 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.3246, allocations: 42.28 kB / 449.5 MB, free: 25.43 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3246, allocations: 0 / 449.5 MB, free: 25.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01426/0.3389, allocations: 8.002 MB / 457.5 MB, free: 24.85 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1)