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.001638/0.001639, 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.002124/0.002124, allocations: 198.9 kB / 16.54 MB, free: 6.672 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.466/1.466, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1596/0.1596, allocations: 8.936 MB / 299.3 MB, free: 2.039 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 67.89 kB / 361.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1085, allocations: 51.48 MB / 413.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.007209/0.1158, allocations: 3.638 MB / 417.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003472/0.1193, allocations: 1.705 MB / 418.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.1198, allocations: 4 kB / 418.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.1206, allocations: 334.7 kB / 419.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008051/0.1214, allocations: 290.6 kB / 419.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.1225, allocations: 406.6 kB / 419.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.1235, allocations: 0.6511 MB / 420.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.124, allocations: 230.8 kB / 420.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.1245, allocations: 271 kB / 420.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.1251, allocations: 366.7 kB / 421.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.1253, allocations: 52 kB / 421.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1256, allocations: 136 kB / 421.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.1259, allocations: 311 kB / 421.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.1265, allocations: 449.2 kB / 422.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1795/0.306, allocations: 1.131 MB / 423.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.306, allocations: 2.812 kB / 423.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.306, allocations: 0 / 423.3 MB, free: 38.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.3061, allocations: 0 / 423.3 MB, free: 38.39 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.0019/0.308, allocations: 1.401 MB / 424.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.308, allocations: 19.48 kB / 424.8 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.253e-05/0.3081, allocations: 67.78 kB / 424.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.3082, allocations: 118.4 kB / 424.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.3091, allocations: 0.8316 MB / 425.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.3092, allocations: 30.19 kB / 425.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.3092, allocations: 38.44 kB / 425.8 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/0.3099, allocations: 428.7 kB / 426.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.31, allocations: 4.812 kB / 426.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.31, allocations: 13.75 kB / 426.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.31, allocations: 11.91 kB / 426.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.3107, allocations: 309.8 kB / 426.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.313, allocations: 1.957 MB / 428.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008177/0.3138, allocations: 327.3 kB / 428.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.3141, allocations: 119.2 kB / 429 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3142, allocations: 8.422 kB / 429 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.3146, allocations: 184.5 kB / 429.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.384e-06/0.3146, allocations: 4 kB / 429.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001372/0.316, allocations: 0.5674 MB / 429.7 MB, free: 36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.316, allocations: 131.8 kB / 429.9 MB, free: 35.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.3177, allocations: 1.68 MB / 431.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3177, allocations: 33.55 kB / 431.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.318, allocations: 472.2 kB / 432 MB, free: 35.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.3181, allocations: 83.19 kB / 432.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3182, allocations: 78.8 kB / 432.2 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.169e-05/0.3182, allocations: 322.8 kB / 432.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.3186, allocations: 147.2 kB / 432.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.319, allocations: 225 kB / 432.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.3196, allocations: 346.8 kB / 433.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3196, allocations: 3.406 kB / 433.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001004/0.3206, allocations: 0.5092 MB / 433.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.3207, allocations: 35.33 kB / 433.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3207, allocations: 224 / 433.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001603/0.3209, allocations: 33.11 kB / 433.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.3212, allocations: 83.47 kB / 433.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007343/0.3219, allocations: 1.368 MB / 435.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.3223, allocations: 50.55 kB / 435.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3224, allocations: 13.28 kB / 435.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005928/0.323, allocations: 459.6 kB / 435.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003143/0.3233, allocations: 211.3 kB / 436 MB, free: 32.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005735/0.3239, allocations: 347.5 kB / 436.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.3239, allocations: 0 / 436.3 MB, free: 32.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009611/0.3248, allocations: 0.4905 MB / 436.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3249, allocations: 35.59 kB / 436.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3249, allocations: 3.312 kB / 436.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.059e-05/0.325, allocations: 24.88 kB / 436.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3253, allocations: 68.83 kB / 436.9 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006651/0.3259, allocations: 1.374 MB / 438.3 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.3264, allocations: 49.47 kB / 438.3 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.3264, allocations: 10 kB / 438.4 MB, free: 31.08 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 0.0001504/0.3266, allocations: 210.3 kB / 438.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3267, allocations: 100.3 kB / 438.7 MB, free: 30.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.3278, allocations: 415.3 kB / 439.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3278, allocations: 0 / 439.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3278, allocations: 4.594 kB / 439.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3278, allocations: 3.469 kB / 439.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008332/0.3286, allocations: 0.6908 MB / 439.8 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.3286, allocations: 4 kB / 439.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.3289, allocations: 51.64 kB / 439.8 MB, free: 30.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.151e-05/0.329, allocations: 20.83 kB / 439.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.3291, allocations: 10.56 kB / 439.9 MB, free: 30.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006795/0.3298, allocations: 1.369 MB / 441.2 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3298, allocations: 6.812 kB / 441.2 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.331, allocations: 0.5412 MB / 441.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.3312, allocations: 224.5 kB / 442 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.3313, allocations: 7.312 kB / 442 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.3316, allocations: 26.17 kB / 442 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.3317, allocations: 27.61 kB / 442 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.3317, allocations: 6.719 kB / 442.1 MB, free: 28.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.3331, allocations: 1.201 MB / 443.3 MB, free: 28.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3331, allocations: 0 / 443.3 MB, free: 28.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000805/0.3339, allocations: 273.6 kB / 443.5 MB, free: 27.96 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.003544/0.3375, allocations: 1.645 MB / 445.2 MB, free: 27.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001589/0.3391, allocations: 0.8334 MB / 446 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3391, allocations: 0 / 446 MB, free: 26.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.3395, allocations: 251.5 kB / 446.2 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007872/0.3403, allocations: 128.4 kB / 446.4 MB, free: 26.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.3518, allocations: 10.34 MB / 456.7 MB, free: 21.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.3523, allocations: 1.085 MB / 457.8 MB, free: 20.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.3527, allocations: 163.5 kB / 458 MB, free: 20.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003602/0.3531, allocations: 347.3 kB / 458.3 MB, free: 20.5 MB / 350.1 MB Notification: Performance of SimCode: time 1.193e-06/0.3531, allocations: 0 / 458.3 MB, free: 20.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06346/0.4166, allocations: 19.19 MB / 477.5 MB, free: 17.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.44, allocations: 11.69 kB / 477.5 MB, free: 17.4 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)