Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.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: translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009787/0.0009788, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.00727/0.00727, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1524/0.1524, allocations: 7.678 MB / 299.1 MB, free: 3.406 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003048, allocations: 8 kB / 362 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.105, allocations: 52.15 MB / 414.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT): time 0.004722/0.1098, allocations: 3.12 MB / 417.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1124, allocations: 1.592 MB / 418.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1126, allocations: 7.938 kB / 418.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005573/0.1132, allocations: 307.2 kB / 419.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004643/0.1136, allocations: 247.1 kB / 419.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007598/0.1144, allocations: 355 kB / 419.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006205/0.115, allocations: 0.5224 MB / 420.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003112/0.1154, allocations: 157.7 kB / 420.4 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.1156, allocations: 195.2 kB / 420.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004798/0.1161, allocations: 306.8 kB / 420.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.1162, allocations: 12 kB / 420.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1164, allocations: 71.97 kB / 421 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.1166, allocations: 187.3 kB / 421.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.117, allocations: 315.7 kB / 421.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.1178, allocations: 0.755 MB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.1178, allocations: 4 kB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1178, allocations: 0 / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1179, allocations: 0 / 422.3 MB, free: 1.973 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001689/0.1196, allocations: 1.006 MB / 423.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1196, allocations: 8.031 kB / 423.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1198, allocations: 87.81 kB / 423.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.1205, allocations: 0.5741 MB / 423.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1206, allocations: 32.77 kB / 424 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/0.1207, allocations: 39.91 kB / 424 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1877/0.3084, allocations: 393 kB / 424.4 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.3084, allocations: 3.188 kB / 424.4 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.3085, allocations: 14.75 kB / 424.4 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3085, allocations: 9.062 kB / 424.4 MB, free: 42.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.3094, allocations: 321.4 kB / 424.7 MB, free: 42.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.3117, allocations: 1.607 MB / 426.3 MB, free: 41.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.3126, allocations: 340.6 kB / 426.7 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/0.3129, allocations: 139.9 kB / 426.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.3129, allocations: 3.984 kB / 426.8 MB, free: 41.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.3135, allocations: 191 kB / 427 MB, free: 41.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.424e-06/0.3135, allocations: 2.406 kB / 427 MB, free: 41.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.00136/0.3148, allocations: 0.576 MB / 427.6 MB, free: 41.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.3149, allocations: 81.56 kB / 427.7 MB, free: 41.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.316, allocations: 1.136 MB / 428.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3161, allocations: 29.14 kB / 428.8 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.3163, allocations: 374.2 kB / 429.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.3164, allocations: 74.81 kB / 429.3 MB, free: 40.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3164, allocations: 29.23 kB / 429.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.3164, allocations: 315.6 kB / 429.6 MB, free: 40.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.3168, allocations: 131.5 kB / 429.7 MB, free: 40.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.3171, allocations: 194.5 kB / 429.9 MB, free: 40.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.3178, allocations: 351.6 kB / 430.3 MB, free: 40.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3178, allocations: 3.188 kB / 430.3 MB, free: 40.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008619/0.3187, allocations: 476 kB / 430.7 MB, free: 40.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.3188, allocations: 172.1 kB / 430.9 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3188, allocations: 0.5625 kB / 430.9 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001342/0.3189, allocations: 22.53 kB / 430.9 MB, free: 39.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.3192, allocations: 69.84 kB / 431 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006391/0.3198, allocations: 1.28 MB / 432.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.3202, allocations: 52.19 kB / 432.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.3202, allocations: 11.47 kB / 432.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.621e-06/0.3202, allocations: 3.875 kB / 432.3 MB, free: 38.66 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007183/0.3209, allocations: 360.1 kB / 432.7 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-06/0.3209, allocations: 4.219 kB / 432.7 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-05/0.321, allocations: 24.81 kB / 432.7 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.3212, allocations: 64.48 kB / 432.8 MB, free: 38.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005358/0.3218, allocations: 1.285 MB / 434.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3221, allocations: 47.59 kB / 434.1 MB, free: 37.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3221, allocations: 14.16 kB / 434.1 MB, free: 37.3 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 (31): * Single equations (assignments): 29 * 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.0002364/0.3223, allocations: 356.8 kB / 434.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.3224, allocations: 73.22 kB / 434.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.3232, allocations: 417.9 kB / 434.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3232, allocations: 0 / 434.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3233, allocations: 3.25 kB / 434.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3233, allocations: 3.422 kB / 434.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.3237, allocations: 0.5209 MB / 435.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3237, allocations: 0 / 435.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.324, allocations: 57.58 kB / 435.5 MB, free: 36.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.3241, allocations: 25.83 kB / 435.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3241, allocations: 11.83 kB / 435.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/0.3246, allocations: 1.27 MB / 436.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3246, allocations: 0 / 436.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.3258, allocations: 0.5536 MB / 437.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.3259, allocations: 169.8 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.326, allocations: 7.812 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.3262, allocations: 30.19 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.3263, allocations: 27.47 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.3263, allocations: 5.094 kB / 437.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.327, allocations: 0.8265 MB / 438.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3271, allocations: 0 / 438.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005271/0.3276, allocations: 202.4 kB / 438.6 MB, free: 35 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 (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): 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.002225/0.3298, allocations: 0.6115 MB / 439.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.3311, allocations: 0.7854 MB / 440 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3311, allocations: 0 / 440 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.3315, allocations: 268.1 kB / 440.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.332, allocations: 100.2 kB / 440.4 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.3338, allocations: 1.776 MB / 442.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3342, allocations: 0.956 MB / 443.1 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.3344, allocations: 99.02 kB / 443.2 MB, free: 32.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.3345, allocations: 31.91 kB / 443.3 MB, free: 32.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3345, allocations: 0 / 443.3 MB, free: 32.43 MB / 350.1 MB Notification: Performance of Templates: time 0.009963/0.3444, allocations: 6.112 MB / 449.4 MB, free: 31.96 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceT.pipe 2>&1)