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 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.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.001891/0.001891, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002196/0.002196, allocations: 189.2 kB / 16.25 MB, free: 6.152 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.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.161/0.161, allocations: 8.937 MB / 299 MB, free: 2.086 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 63.89 kB / 361.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1222, allocations: 51.48 MB / 412.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005786/0.1281, allocations: 3.664 MB / 416.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.1311, allocations: 1.658 MB / 418.2 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.1314, allocations: 11.94 kB / 418.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.132, allocations: 311.1 kB / 418.5 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000575/0.1326, allocations: 267 kB / 418.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.1335, allocations: 359.2 kB / 419.2 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.1343, allocations: 0.651 MB / 419.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1347, allocations: 218.9 kB / 420 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.1351, allocations: 282.9 kB / 420.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.1357, allocations: 374.7 kB / 420.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.1357, allocations: 60 kB / 420.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.136, allocations: 132 kB / 420.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002827/0.1363, allocations: 307 kB / 421.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003923/0.1367, allocations: 457.1 kB / 421.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1575/0.2942, allocations: 1.132 MB / 422.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2943, allocations: 0.5 kB / 422.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2943, allocations: 0 / 422.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.312e-05/0.2943, allocations: 3.094 kB / 422.7 MB, free: 38.11 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.002025/0.2963, allocations: 1.4 MB / 424.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2964, allocations: 16.08 kB / 424.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.242e-05/0.2965, allocations: 70.89 kB / 424.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.2966, allocations: 112.1 kB / 424.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.2974, allocations: 0.8343 MB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.2975, allocations: 26.28 kB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.2975, allocations: 45.59 kB / 425.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.2983, allocations: 424.1 kB / 425.6 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.2983, allocations: 10.22 kB / 425.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/0.2983, allocations: 15.97 kB / 425.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/0.2983, allocations: 8.844 kB / 425.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.2991, allocations: 306.7 kB / 426 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002117/0.3012, allocations: 1.955 MB / 427.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.302, allocations: 330 kB / 428.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.3023, allocations: 122.5 kB / 428.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.3023, allocations: 3.828 kB / 428.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004152/0.3028, allocations: 182.6 kB / 428.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.853e-06/0.3028, allocations: 0 / 428.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001281/0.3041, allocations: 0.5735 MB / 429.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3041, allocations: 135.8 kB / 429.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.3057, allocations: 1.673 MB / 430.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3057, allocations: 32.61 kB / 431 MB, free: 35.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.306, allocations: 478 kB / 431.4 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.306, allocations: 83.92 kB / 431.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.3061, allocations: 78.41 kB / 431.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.318e-05/0.3062, allocations: 320 kB / 431.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.3065, allocations: 144.2 kB / 432.1 MB, free: 34.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.3069, allocations: 224.5 kB / 432.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.3075, allocations: 353.8 kB / 432.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3076, allocations: 2.812 kB / 432.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009066/0.3085, allocations: 0.5099 MB / 433.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3085, allocations: 32.11 kB / 433.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.3085, allocations: 0 / 433.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/0.3087, allocations: 34.98 kB / 433.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.309, allocations: 77.67 kB / 433.3 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006573/0.3096, allocations: 1.377 MB / 434.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.31, allocations: 45.52 kB / 434.7 MB, free: 33.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.31, allocations: 20.23 kB / 434.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005291/0.3105, allocations: 454 kB / 435.2 MB, free: 32.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003181/0.3109, allocations: 207.7 kB / 435.4 MB, free: 32.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005436/0.3114, allocations: 350.1 kB / 435.7 MB, free: 32.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.3114, allocations: 0 / 435.7 MB, free: 32.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0008202/0.3123, allocations: 0.4949 MB / 436.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3123, allocations: 32.14 kB / 436.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3123, allocations: 7.141 kB / 436.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.691e-05/0.3124, allocations: 25.08 kB / 436.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.3126, allocations: 70.3 kB / 436.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005395/0.3132, allocations: 1.37 MB / 437.7 MB, free: 30.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.3135, allocations: 49.28 kB / 437.7 MB, free: 30.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-05/0.3135, allocations: 13.06 kB / 437.8 MB, free: 30.93 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.837e-05/0.3136, allocations: 207.7 kB / 438 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-05/0.3137, allocations: 98.78 kB / 438.1 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000835/0.3146, allocations: 414.1 kB / 438.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3146, allocations: 6.719 kB / 438.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.3146, allocations: 0 / 438.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3146, allocations: 0 / 438.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.3151, allocations: 0.6929 MB / 439.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3152, allocations: 3.031 kB / 439.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.3154, allocations: 50.88 kB / 439.2 MB, free: 30.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.606e-05/0.3155, allocations: 22 kB / 439.2 MB, free: 30.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.3155, allocations: 7.062 kB / 439.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005483/0.3161, allocations: 1.372 MB / 440.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3161, allocations: 0 / 440.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.3171, allocations: 0.5445 MB / 441.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.3173, allocations: 226.9 kB / 441.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.3174, allocations: 3.094 kB / 441.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3177, allocations: 30.2 kB / 441.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.3178, allocations: 24.53 kB / 441.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.3178, allocations: 7.281 kB / 441.4 MB, free: 28.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.3189, allocations: 1.203 MB / 442.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3189, allocations: 0 / 442.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.3195, allocations: 272.7 kB / 442.9 MB, free: 27.82 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.003453/0.323, allocations: 1.646 MB / 444.6 MB, free: 26.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3243, allocations: 0.8295 MB / 445.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3244, allocations: 0 / 445.4 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.3248, allocations: 254.5 kB / 445.6 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005842/0.3254, allocations: 120.8 kB / 445.8 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.3382, allocations: 10.55 MB / 456.3 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3387, allocations: 1.084 MB / 457.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003399/0.339, allocations: 169.5 kB / 457.6 MB, free: 20.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.3394, allocations: 344.5 kB / 457.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3394, allocations: 0 / 457.9 MB, free: 20.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.3846, allocations: 19.03 MB / 476.9 MB, free: 17.34 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/0.3848, allocations: 267.8 kB / 477.2 MB, free: 16.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.78, allocations: 1.125 kB / 477.2 MB, free: 16.97 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceT.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1)