Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceP",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.001315/0.001315, 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.001401/0.001401, allocations: 192.3 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1557/0.1557, allocations: 8.403 MB / 298.8 MB, free: 2.195 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 71.89 kB / 361.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1274, allocations: 51.36 MB / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.006553/0.134, allocations: 3.753 MB / 416.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1373, allocations: 1.751 MB / 418.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005601/0.1379, allocations: 7.938 kB / 418.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.1388, allocations: 346.7 kB / 418.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009369/0.1398, allocations: 294.6 kB / 418.8 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.1409, allocations: 418 kB / 419.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1421, allocations: 0.6784 MB / 419.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.1426, allocations: 252 kB / 420.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.1431, allocations: 286.9 kB / 420.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.1437, allocations: 374.6 kB / 420.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1438, allocations: 56 kB / 420.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.1441, allocations: 119.8 kB / 420.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.1445, allocations: 315 kB / 421.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.145, allocations: 465.1 kB / 421.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1764/0.3214, allocations: 1.149 MB / 422.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3215, allocations: 0 / 422.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3215, allocations: 0 / 422.9 MB, free: 38.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.605e-05/0.3215, allocations: 0 / 422.9 MB, free: 38.16 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002241/0.3238, allocations: 1.413 MB / 424.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3238, allocations: 13.23 kB / 424.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.378e-05/0.3239, allocations: 73.41 kB / 424.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3241, allocations: 119.1 kB / 424.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009646/0.3251, allocations: 0.8367 MB / 425.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.3251, allocations: 33.59 kB / 425.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.3252, allocations: 50.03 kB / 425.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.326, allocations: 451.8 kB / 425.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.326, allocations: 0 / 425.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.3261, allocations: 15.78 kB / 425.8 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.3261, allocations: 10.25 kB / 425.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/0.3269, allocations: 332.7 kB / 426.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.3295, allocations: 2.025 MB / 428.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009003/0.3304, allocations: 439.9 kB / 428.6 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.3308, allocations: 133.9 kB / 428.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.667e-05/0.3308, allocations: 7.281 kB / 428.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.3313, allocations: 194.4 kB / 429 MB, free: 35.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.926e-06/0.3313, allocations: 0 / 429 MB, free: 35.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001779/0.3331, allocations: 0.6809 MB / 429.6 MB, free: 35.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3331, allocations: 90.34 kB / 429.7 MB, free: 35.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.3347, allocations: 1.661 MB / 431.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/0.3348, allocations: 33.05 kB / 431.4 MB, free: 35.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.3351, allocations: 484.3 kB / 431.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.3351, allocations: 92.88 kB / 432 MB, free: 35.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3352, allocations: 80.44 kB / 432.1 MB, free: 35.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3353, allocations: 326.4 kB / 432.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.3357, allocations: 142 kB / 432.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003842/0.3361, allocations: 218.1 kB / 432.7 MB, free: 34.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/0.3368, allocations: 370.6 kB / 433.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3368, allocations: 0 / 433.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00115/0.3379, allocations: 0.5675 MB / 433.7 MB, free: 34.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.338, allocations: 38.94 kB / 433.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.338, allocations: 0 / 433.7 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.3383, allocations: 62.17 kB / 433.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.3386, allocations: 76.66 kB / 433.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3399, allocations: 1.812 MB / 435.7 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.3403, allocations: 52.91 kB / 435.7 MB, free: 32.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.3403, allocations: 18.31 kB / 435.7 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006225/0.341, allocations: 455.5 kB / 436.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000326/0.3413, allocations: 207.1 kB / 436.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005911/0.3419, allocations: 339.6 kB / 436.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-06/0.3419, allocations: 3.828 kB / 436.7 MB, free: 32.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.001012/0.3429, allocations: 0.5428 MB / 437.2 MB, free: 32.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3429, allocations: 36.02 kB / 437.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.343, allocations: 7.469 kB / 437.3 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.3431, allocations: 58.47 kB / 437.3 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3434, allocations: 75.44 kB / 437.4 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.3446, allocations: 1.816 MB / 439.2 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.345, allocations: 45.53 kB / 439.3 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.345, allocations: 14.75 kB / 439.3 MB, free: 30.32 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,iceP.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.3452, allocations: 206 kB / 439.5 MB, free: 30.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.3453, allocations: 97.84 kB / 439.6 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3463, allocations: 472 kB / 440.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3464, allocations: 0 / 440.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3464, allocations: 3.062 kB / 440.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3464, allocations: 7.422 kB / 440.1 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.348, allocations: 1.221 MB / 441.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.348, allocations: 0 / 441.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3483, allocations: 50.42 kB / 441.3 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.3485, allocations: 64.08 kB / 441.4 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3485, allocations: 6.75 kB / 441.4 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.3497, allocations: 1.8 MB / 443.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3497, allocations: 3.938 kB / 443.2 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001271/0.351, allocations: 0.6785 MB / 443.9 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002233/0.3512, allocations: 218.1 kB / 444.1 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/0.3513, allocations: 6.906 kB / 444.1 MB, free: 27.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.3516, allocations: 36.59 kB / 444.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/0.3517, allocations: 24.38 kB / 444.2 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3517, allocations: 13.66 kB / 444.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001212/0.353, allocations: 1.197 MB / 445.4 MB, free: 26.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.353, allocations: 0 / 445.4 MB, free: 26.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009451/0.3539, allocations: 267.8 kB / 445.6 MB, free: 26.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003556/0.3575, allocations: 1.741 MB / 447.4 MB, free: 25.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.3591, allocations: 0.8898 MB / 448.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3591, allocations: 0 / 448.3 MB, free: 25.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.3596, allocations: 278.7 kB / 448.5 MB, free: 24.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.3603, allocations: 116.9 kB / 448.7 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.3716, allocations: 10.61 MB / 459.3 MB, free: 19.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.3721, allocations: 1.093 MB / 460.4 MB, free: 19.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.3724, allocations: 127.2 kB / 460.5 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.3728, allocations: 349.1 kB / 460.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3728, allocations: 0 / 460.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.4344, allocations: 19.83 MB / 480.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.15, allocations: 5.938 kB / 480.7 MB, free: 15.43 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP_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_TestIceP.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1)