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 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.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.001797/0.001797, allocations: 108 kB / 15.61 MB, free: 152 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.002517/0.002517, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1421/0.1421, allocations: 8.406 MB / 298.8 MB, free: 2.133 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003242/0.003242, allocations: 67.89 kB / 361.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1074, allocations: 51.37 MB / 412.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005664/0.1132, allocations: 3.654 MB / 416.3 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1159, allocations: 1.702 MB / 418 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002668/0.1161, allocations: 11.94 kB / 418 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.1167, allocations: 334.7 kB / 418.4 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005923/0.1173, allocations: 294.6 kB / 418.6 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008328/0.1182, allocations: 398.5 kB / 419 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.1189, allocations: 0.6472 MB / 419.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003728/0.1193, allocations: 226.9 kB / 419.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1197, allocations: 278.9 kB / 420.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004898/0.1202, allocations: 358.7 kB / 420.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.445e-05/0.1203, allocations: 48 kB / 420.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002296/0.1205, allocations: 116 kB / 420.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.1208, allocations: 303 kB / 421 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003852/0.1212, allocations: 449.1 kB / 421.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1222, allocations: 1.11 MB / 422.5 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1222, allocations: 0 / 422.5 MB, free: 272 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1222, allocations: 0 / 422.5 MB, free: 272 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.1223, allocations: 0 / 422.5 MB, free: 272 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.16/0.2823, allocations: 1.381 MB / 423.9 MB, free: 43.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2823, allocations: 15.73 kB / 423.9 MB, free: 43.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.183e-05/0.2824, allocations: 78.38 kB / 424 MB, free: 43.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.2825, allocations: 118.7 kB / 424.1 MB, free: 43.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000886/0.2834, allocations: 0.8206 MB / 424.9 MB, free: 43.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2835, allocations: 28 kB / 425 MB, free: 43.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.2835, allocations: 48.17 kB / 425 MB, free: 43.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000703/0.2842, allocations: 412 kB / 425.4 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2843, allocations: 11.98 kB / 425.4 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.2843, allocations: 16.03 kB / 425.4 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2843, allocations: 8.656 kB / 425.5 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/0.2851, allocations: 310.7 kB / 425.8 MB, free: 43.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.2872, allocations: 1.936 MB / 427.7 MB, free: 42.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007869/0.288, allocations: 328.8 kB / 428 MB, free: 42.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.2883, allocations: 123.4 kB / 428.1 MB, free: 42.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.2883, allocations: 6.484 kB / 428.1 MB, free: 42.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.2887, allocations: 185.8 kB / 428.3 MB, free: 42.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.944e-06/0.2887, allocations: 0 / 428.3 MB, free: 42.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001251/0.29, allocations: 0.5675 MB / 428.9 MB, free: 41.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.29, allocations: 84.36 kB / 429 MB, free: 41.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.2915, allocations: 1.66 MB / 430.6 MB, free: 41.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2915, allocations: 33.89 kB / 430.7 MB, free: 41.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.2918, allocations: 472.8 kB / 431.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.2918, allocations: 81.88 kB / 431.2 MB, free: 40.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.2919, allocations: 77.39 kB / 431.3 MB, free: 40.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.292, allocations: 324.1 kB / 431.6 MB, free: 40.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.2923, allocations: 141.8 kB / 431.7 MB, free: 40.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.2927, allocations: 211.1 kB / 431.9 MB, free: 40.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.2933, allocations: 344.4 kB / 432.3 MB, free: 40.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2934, allocations: 3.469 kB / 432.3 MB, free: 40.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009096/0.2943, allocations: 0.5107 MB / 432.8 MB, free: 39.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.2943, allocations: 32.95 kB / 432.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2943, allocations: 0 / 432.8 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.2945, allocations: 25.38 kB / 432.9 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2948, allocations: 75.78 kB / 432.9 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00067/0.2954, allocations: 1.382 MB / 434.3 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2958, allocations: 51.55 kB / 434.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.2958, allocations: 18.02 kB / 434.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005226/0.2963, allocations: 446.6 kB / 434.8 MB, free: 38.19 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003258/0.2967, allocations: 204.2 kB / 435 MB, free: 38.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000552/0.2972, allocations: 331.9 kB / 435.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.2973, allocations: 0 / 435.3 MB, free: 37.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008173/0.2981, allocations: 0.4942 MB / 435.8 MB, free: 37.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2981, allocations: 32.08 kB / 435.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2981, allocations: 3.219 kB / 435.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.825e-05/0.2982, allocations: 26.16 kB / 435.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.2985, allocations: 73.89 kB / 436 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005424/0.299, allocations: 1.373 MB / 437.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.2993, allocations: 34.48 kB / 437.4 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2994, allocations: 17.42 kB / 437.4 MB, free: 36.18 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.867e-05/0.2995, allocations: 204.2 kB / 437.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.326e-05/0.2996, allocations: 107.6 kB / 437.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.3004, allocations: 414.1 kB / 438.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3004, allocations: 3.125 kB / 438.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3004, allocations: 4.422 kB / 438.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.3004, allocations: 3.281 kB / 438.1 MB, free: 35.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.301, allocations: 0.678 MB / 438.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.301, allocations: 3.938 kB / 438.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3012, allocations: 52.47 kB / 438.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.3013, allocations: 18.58 kB / 438.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.3013, allocations: 14.7 kB / 438.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005771/0.3019, allocations: 1.362 MB / 440.2 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3019, allocations: 3.281 kB / 440.2 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.303, allocations: 0.5472 MB / 440.8 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.3032, allocations: 220.6 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.3033, allocations: 3.312 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.3036, allocations: 31.58 kB / 441 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.3037, allocations: 25.02 kB / 441.1 MB, free: 33.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3037, allocations: 10.89 kB / 441.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001077/0.3048, allocations: 1.193 MB / 442.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3048, allocations: 0 / 442.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006303/0.3054, allocations: 257.5 kB / 442.5 MB, free: 33.08 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.003347/0.3088, allocations: 1.604 MB / 444.1 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.3102, allocations: 0.8263 MB / 444.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3103, allocations: 0.7656 kB / 444.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.3107, allocations: 254.2 kB / 445.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.3113, allocations: 116.3 kB / 445.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.3222, allocations: 10.32 MB / 455.6 MB, free: 26.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.3228, allocations: 1.082 MB / 456.7 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004433/0.3232, allocations: 170.4 kB / 456.9 MB, free: 25.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.3237, allocations: 334.8 kB / 457.2 MB, free: 25.62 MB / 350.1 MB Notification: Performance of SimCode: time 1.834e-06/0.3237, allocations: 3.188 kB / 457.2 MB, free: 25.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05626/0.3799, allocations: 18.72 MB / 475.9 MB, free: 22.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.38, allocations: 2 kB / 475.9 MB, free: 22.73 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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01_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_TestIceT01.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1)