Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceT,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_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.00675/0.00675, allocations: 103.8 kB / 15.74 MB, free: 6.449 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.001516/0.001516, allocations: 191.3 kB / 16.67 MB, free: 6.352 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1972/0.1972, allocations: 8.312 MB / 298.9 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 72.08 kB / 413 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.2571, allocations: 51.26 MB / 464.3 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceT): time 0.00579/0.2629, allocations: 3.313 MB / 467.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.2656, allocations: 1.609 MB / 469.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.2662, allocations: 5.938 kB / 469.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008304/0.267, allocations: 321.7 kB / 469.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008489/0.2679, allocations: 269.6 kB / 469.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.269, allocations: 375.2 kB / 470.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.2699, allocations: 0.5123 MB / 470.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003199/0.2703, allocations: 155.5 kB / 470.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004871/0.2708, allocations: 222.5 kB / 471 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006226/0.2714, allocations: 312 kB / 471.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2715, allocations: 36.84 kB / 471.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.2718, allocations: 101.6 kB / 471.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.2721, allocations: 204.6 kB / 471.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.2725, allocations: 308.4 kB / 472 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.2736, allocations: 0.7799 MB / 472.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2737, allocations: 5.156 kB / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2737, allocations: 0 / 472.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.081e-05/0.2737, allocations: 1.406 kB / 472.7 MB, free: 12.88 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002411/0.2761, allocations: 1.108 MB / 473.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2762, allocations: 9.312 kB / 473.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.2763, allocations: 70.48 kB / 473.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2765, allocations: 82.61 kB / 474 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008246/0.2773, allocations: 0.5785 MB / 474.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.2773, allocations: 24.3 kB / 474.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-05/0.2774, allocations: 31.25 kB / 474.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007057/0.2781, allocations: 347.4 kB / 475 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2781, allocations: 6.031 kB / 475 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2782, allocations: 10.75 kB / 475 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2782, allocations: 7.625 kB / 475 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.2789, allocations: 254 kB / 475.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.2809, allocations: 1.511 MB / 476.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007925/0.2817, allocations: 268 kB / 477 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.282, allocations: 106.1 kB / 477.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.282, allocations: 2.906 kB / 477.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.2825, allocations: 167.9 kB / 477.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.894e-06/0.2825, allocations: 0 / 477.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001369/0.2839, allocations: 0.4935 MB / 477.8 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.2839, allocations: 87.66 kB / 477.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.2852, allocations: 1.121 MB / 479 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.2853, allocations: 35.27 kB / 479 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.2855, allocations: 356.9 kB / 479.4 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.2856, allocations: 72.03 kB / 479.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.2857, allocations: 48.34 kB / 479.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.2857, allocations: 316.1 kB / 479.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.2861, allocations: 111.9 kB / 479.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/0.2864, allocations: 162.7 kB / 480.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.287, allocations: 304.4 kB / 480.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.287, allocations: 1.125 kB / 480.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008658/0.2879, allocations: 420.9 kB / 480.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.288, allocations: 31.33 kB / 480.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.288, allocations: 2.375 kB / 480.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.2881, allocations: 24.03 kB / 480.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.2884, allocations: 55.48 kB / 480.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008134/0.2892, allocations: 1.384 MB / 482.3 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.2896, allocations: 55.02 kB / 482.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.2896, allocations: 6.969 kB / 482.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005662/0.2902, allocations: 326.3 kB / 482.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003165/0.2905, allocations: 157.2 kB / 482.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005357/0.291, allocations: 272.2 kB / 483.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.2911, allocations: 0 / 483.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007887/0.2919, allocations: 391.8 kB / 483.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2919, allocations: 36.38 kB / 483.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2919, allocations: 2.406 kB / 483.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.652e-05/0.292, allocations: 20.02 kB / 483.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.2922, allocations: 56.52 kB / 483.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006458/0.2929, allocations: 1.388 MB / 485 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2932, allocations: 31.44 kB / 485 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.2932, allocations: 9.156 kB / 485 MB, free: 3.926 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 (27): * Single equations (assignments): 25 * 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.0001204/0.2933, allocations: 203.1 kB / 485.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2934, allocations: 74.44 kB / 485.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008706/0.2943, allocations: 351.1 kB / 485.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2943, allocations: 2.344 kB / 485.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2943, allocations: 0 / 485.6 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2944, allocations: 5.234 kB / 485.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005863/0.2949, allocations: 0.4947 MB / 486.1 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.295, allocations: 5.25 kB / 486.1 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2952, allocations: 46.98 kB / 486.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.908e-05/0.2953, allocations: 18.75 kB / 486.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2953, allocations: 9.125 kB / 486.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006599/0.296, allocations: 1.381 MB / 487.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.296, allocations: 3.938 kB / 487.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.2971, allocations: 474.3 kB / 488 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.2973, allocations: 173.5 kB / 488.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.2974, allocations: 2.75 kB / 488.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.2976, allocations: 29.7 kB / 488.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.2977, allocations: 16.23 kB / 488.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.2977, allocations: 12.11 kB / 488.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001042/0.2988, allocations: 0.8155 MB / 489.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2988, allocations: 0 / 489.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007291/0.2995, allocations: 190.6 kB / 489.3 MB, free: 0.6953 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 (18): * Single equations (assignments): 15 * 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.003428/0.303, allocations: 1.512 MB / 490.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3045, allocations: 0.7064 MB / 491.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3046, allocations: 1.25 kB / 491.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.3051, allocations: 237.5 kB / 491.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.3056, allocations: 91.75 kB / 491.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.3162, allocations: 6.458 MB / 498.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006823/0.3169, allocations: 0.9412 MB / 499.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002703/0.3172, allocations: 79.25 kB / 499.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.3175, allocations: 247.3 kB / 499.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3175, allocations: 3.938 kB / 499.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05308/0.3706, allocations: 13.9 MB / 0.5014 GB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.96, allocations: 3.938 kB / 0.5014 GB, free: 11.12 MB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceT.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceT.pipe 2>&1)