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.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 3.0.0-main/package.mo", uses=false) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-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.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT",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.001312/0.001312, 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.001472/0.001473, allocations: 192 kB / 16.53 MB, free: 6.391 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.429/1.429, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1446/0.1446, allocations: 8.406 MB / 298.8 MB, free: 2.234 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 63.91 kB / 361.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1013, allocations: 51.37 MB / 412.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005888/0.1073, allocations: 3.64 MB / 416.3 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003004/0.1103, allocations: 1.697 MB / 418 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002916/0.1106, allocations: 8 kB / 418 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006369/0.1113, allocations: 338.7 kB / 418.3 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005834/0.1119, allocations: 290.6 kB / 418.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.1128, allocations: 398 kB / 419 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007278/0.1135, allocations: 0.6473 MB / 419.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.1139, allocations: 234.8 kB / 419.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.1143, allocations: 271 kB / 420.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.1148, allocations: 374.6 kB / 420.5 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.1149, allocations: 59.94 kB / 420.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.1152, allocations: 128 kB / 420.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002962/0.1155, allocations: 311 kB / 421 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.1159, allocations: 457.2 kB / 421.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1171, allocations: 1.133 MB / 422.6 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1172, allocations: 0 / 422.6 MB, free: 200 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1172, allocations: 0 / 422.6 MB, free: 200 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1172, allocations: 0 / 422.6 MB, free: 200 kB / 350.1 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.1519/0.2691, allocations: 1.397 MB / 424 MB, free: 43.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2691, allocations: 12.42 kB / 424 MB, free: 43.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.161e-05/0.2692, allocations: 73.19 kB / 424.1 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.2693, allocations: 117.7 kB / 424.2 MB, free: 43.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008232/0.2701, allocations: 0.8275 MB / 425 MB, free: 43.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.2702, allocations: 28.38 kB / 425 MB, free: 43.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.2702, allocations: 45.97 kB / 425.1 MB, free: 43.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006739/0.2709, allocations: 426.2 kB / 425.5 MB, free: 43.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.2709, allocations: 8.281 kB / 425.5 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.1e-05/0.271, allocations: 17.11 kB / 425.5 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.271, allocations: 8.469 kB / 425.5 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007311/0.2717, allocations: 306.2 kB / 425.8 MB, free: 43.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.2738, allocations: 1.949 MB / 427.8 MB, free: 42.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.2746, allocations: 331.5 kB / 428.1 MB, free: 42.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.2749, allocations: 119.7 kB / 428.2 MB, free: 42.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.2749, allocations: 3.25 kB / 428.2 MB, free: 42.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.2753, allocations: 185 kB / 428.4 MB, free: 42.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.094e-06/0.2753, allocations: 0 / 428.4 MB, free: 42.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001243/0.2765, allocations: 0.5815 MB / 429 MB, free: 41.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2766, allocations: 134 kB / 429.1 MB, free: 41.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.278, allocations: 1.669 MB / 430.8 MB, free: 41.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.2781, allocations: 32.95 kB / 430.8 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.2784, allocations: 479.9 kB / 431.3 MB, free: 40.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.2784, allocations: 89.64 kB / 431.4 MB, free: 40.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.2785, allocations: 72.94 kB / 431.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.2786, allocations: 323.9 kB / 431.8 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.2789, allocations: 137.6 kB / 431.9 MB, free: 40.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.2793, allocations: 225.9 kB / 432.1 MB, free: 40.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.2799, allocations: 353.2 kB / 432.5 MB, free: 40.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2799, allocations: 0 / 432.5 MB, free: 40.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009131/0.2808, allocations: 0.5185 MB / 433 MB, free: 39.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.2809, allocations: 33.44 kB / 433 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2809, allocations: 3.188 kB / 433 MB, free: 39.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.281, allocations: 26 kB / 433 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.2813, allocations: 75.17 kB / 433.1 MB, free: 39.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006166/0.282, allocations: 1.379 MB / 434.5 MB, free: 38.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.2823, allocations: 49.64 kB / 434.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/0.2823, allocations: 14.27 kB / 434.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005174/0.2828, allocations: 454 kB / 435 MB, free: 38.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003069/0.2832, allocations: 212.4 kB / 435.2 MB, free: 37.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005554/0.2837, allocations: 331.3 kB / 435.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.2837, allocations: 3.734 kB / 435.5 MB, free: 37.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008095/0.2845, allocations: 0.4982 MB / 436 MB, free: 37.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2846, allocations: 32.27 kB / 436.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.2846, allocations: 0.8438 kB / 436.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-05/0.2847, allocations: 29.52 kB / 436.1 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.2849, allocations: 79.27 kB / 436.2 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005345/0.2855, allocations: 1.367 MB / 437.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2858, allocations: 45.67 kB / 437.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2858, allocations: 13 kB / 437.6 MB, free: 36.09 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 9.678e-05/0.2859, allocations: 208 kB / 437.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.286, allocations: 103.8 kB / 437.9 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/0.2868, allocations: 420.4 kB / 438.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2868, allocations: 5.156 kB / 438.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2869, allocations: 6.75 kB / 438.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2869, allocations: 0 / 438.3 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.2874, allocations: 0.6822 MB / 439 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2874, allocations: 0 / 439 MB, free: 35.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.2876, allocations: 60.39 kB / 439.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.713e-05/0.2877, allocations: 18.19 kB / 439.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2877, allocations: 8 kB / 439.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.2883, allocations: 1.365 MB / 440.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2883, allocations: 2.812 kB / 440.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.2894, allocations: 0.553 MB / 441 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.2896, allocations: 212.8 kB / 441.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.385e-05/0.2897, allocations: 7.312 kB / 441.2 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.29, allocations: 31.09 kB / 441.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.023e-05/0.2901, allocations: 24.42 kB / 441.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.2901, allocations: 9.609 kB / 441.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.2912, allocations: 1.204 MB / 442.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2912, allocations: 0 / 442.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006711/0.2919, allocations: 265.4 kB / 442.7 MB, free: 32.98 MB / 350.1 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.003391/0.2953, allocations: 1.66 MB / 444.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.2967, allocations: 0.8263 MB / 445.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2967, allocations: 3.156 kB / 445.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004084/0.2972, allocations: 258.9 kB / 445.5 MB, free: 31.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.2977, allocations: 111.5 kB / 445.6 MB, free: 31.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.3083, allocations: 10.35 MB / 455.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.3088, allocations: 1.084 MB / 457 MB, free: 25.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003549/0.3092, allocations: 167.1 kB / 457.2 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.3095, allocations: 342.9 kB / 457.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3095, allocations: 0 / 457.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07427/0.3838, allocations: 19.2 MB / 476.7 MB, free: 22.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.948/10.33, allocations: 6.406 kB / 476.7 MB, free: 22.21 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1)