Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001957/0.001956, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.0013, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.411/1.411, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1609/0.1609, allocations: 8.938 MB / 299.3 MB, free: 2.031 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 362 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1019, allocations: 51.47 MB / 413.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005662/0.1076, allocations: 3.652 MB / 417.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1105, allocations: 1.702 MB / 418.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.111, allocations: 7.938 kB / 418.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1117, allocations: 338.7 kB / 419.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.1124, allocations: 298.6 kB / 419.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.1135, allocations: 395 kB / 419.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008816/0.1144, allocations: 0.655 MB / 420.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1148, allocations: 222.9 kB / 420.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.1152, allocations: 278.9 kB / 420.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.1157, allocations: 358.7 kB / 421.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.1158, allocations: 52 kB / 421.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.116, allocations: 108 kB / 421.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.1163, allocations: 307 kB / 421.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004217/0.1167, allocations: 453.1 kB / 422.2 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1778/0.2945, allocations: 1.102 MB / 423.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2945, allocations: 0 / 423.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2946, allocations: 0 / 423.3 MB, free: 38.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.163e-05/0.2946, allocations: 0 / 423.3 MB, free: 38.15 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.002137/0.2967, allocations: 1.387 MB / 424.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2968, allocations: 16.02 kB / 424.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.2969, allocations: 79.3 kB / 424.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.297, allocations: 115 kB / 424.9 MB, free: 37.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008889/0.2979, allocations: 0.82 MB / 425.7 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.298, allocations: 32.84 kB / 425.7 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.298, allocations: 40.84 kB / 425.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.2987, allocations: 417.1 kB / 426.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2988, allocations: 0.75 kB / 426.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.2988, allocations: 17.81 kB / 426.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2988, allocations: 11.09 kB / 426.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.2995, allocations: 309.7 kB / 426.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.3019, allocations: 1.947 MB / 428.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.3027, allocations: 331.7 kB / 428.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.303, allocations: 125.7 kB / 428.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.3031, allocations: 6.375 kB / 428.9 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004042/0.3035, allocations: 177.3 kB / 429.1 MB, free: 35.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.3035, allocations: 0 / 429.1 MB, free: 35.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00133/0.3048, allocations: 0.567 MB / 429.7 MB, free: 35.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3049, allocations: 84.2 kB / 429.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.3064, allocations: 1.661 MB / 431.4 MB, free: 35.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.3065, allocations: 32.11 kB / 431.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3067, allocations: 479.7 kB / 431.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.3068, allocations: 84.64 kB / 432 MB, free: 35.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.3069, allocations: 70.89 kB / 432 MB, free: 35.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.001e-05/0.307, allocations: 323.4 kB / 432.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3073, allocations: 141.4 kB / 432.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.3077, allocations: 209.9 kB / 432.7 MB, free: 34.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.3083, allocations: 347.5 kB / 433 MB, free: 34.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3083, allocations: 0 / 433 MB, free: 34.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009416/0.3092, allocations: 0.5155 MB / 433.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.3093, allocations: 36.05 kB / 433.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3093, allocations: 0 / 433.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001374/0.3094, allocations: 23.97 kB / 433.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.3098, allocations: 81.78 kB / 433.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006457/0.3104, allocations: 1.369 MB / 435.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.3108, allocations: 50.5 kB / 435.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.3108, allocations: 16.52 kB / 435.1 MB, free: 33.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005412/0.3114, allocations: 451.8 kB / 435.6 MB, free: 33.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003023/0.3117, allocations: 203 kB / 435.8 MB, free: 32.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000544/0.3122, allocations: 337.4 kB / 436.1 MB, free: 32.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.3122, allocations: 6.562 kB / 436.1 MB, free: 32.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008218/0.3131, allocations: 494.3 kB / 436.6 MB, free: 32.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3131, allocations: 32.11 kB / 436.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3131, allocations: 7.375 kB / 436.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.746e-05/0.3132, allocations: 21.69 kB / 436.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.3134, allocations: 76.31 kB / 436.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005819/0.314, allocations: 1.365 MB / 438.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3144, allocations: 49.56 kB / 438.1 MB, free: 31.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3144, allocations: 20.97 kB / 438.2 MB, free: 31.02 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.0001061/0.3145, allocations: 207.7 kB / 438.4 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.3146, allocations: 94.31 kB / 438.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.3154, allocations: 415.5 kB / 438.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3155, allocations: 3.25 kB / 438.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3155, allocations: 0 / 438.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3155, allocations: 0 / 438.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.316, allocations: 0.6806 MB / 439.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.316, allocations: 3.125 kB / 439.5 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.3162, allocations: 56.25 kB / 439.6 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.721e-05/0.3163, allocations: 26.03 kB / 439.6 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.3163, allocations: 0 / 439.6 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000548/0.3169, allocations: 1.371 MB / 441 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3169, allocations: 0 / 441 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.318, allocations: 0.5496 MB / 441.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.3182, allocations: 217.9 kB / 441.8 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.126e-05/0.3183, allocations: 7.312 kB / 441.8 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.3186, allocations: 33.41 kB / 441.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.3186, allocations: 20.39 kB / 441.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3187, allocations: 6.781 kB / 441.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.3198, allocations: 1.195 MB / 443 MB, free: 27.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3198, allocations: 4.953 kB / 443 MB, free: 27.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.3204, allocations: 246.2 kB / 443.3 MB, free: 27.93 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.003284/0.3237, allocations: 1.614 MB / 444.9 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.3251, allocations: 0.8248 MB / 445.7 MB, free: 26.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3251, allocations: 0 / 445.7 MB, free: 26.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.3256, allocations: 255 kB / 446 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.3262, allocations: 117.8 kB / 446.1 MB, free: 26.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.337, allocations: 10.31 MB / 456.4 MB, free: 21.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3376, allocations: 1.084 MB / 457.5 MB, free: 20.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003746/0.3379, allocations: 159.4 kB / 457.6 MB, free: 20.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.3383, allocations: 340.3 kB / 457.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3383, allocations: 0 / 457.9 MB, free: 20.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/0.3986, allocations: 18.72 MB / 476.7 MB, free: 17.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.927/10.33, allocations: 14 kB / 476.7 MB, free: 17.81 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT01.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1)