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 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.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.005325/0.005325, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001337/0.001336, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04148/0.04148, allocations: 8.418 MB / 298.9 MB, free: 6.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 63.91 kB / 413.3 MB, free: 22.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09362, allocations: 51.37 MB / 464.7 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005512/0.09917, allocations: 3.647 MB / 468.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1019, allocations: 1.705 MB / 470 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003129/0.1023, allocations: 8 kB / 470 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.1029, allocations: 342.7 kB / 470.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.1036, allocations: 286.6 kB / 470.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008812/0.1045, allocations: 401.7 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008072/0.1053, allocations: 0.655 MB / 471.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003785/0.1057, allocations: 234.5 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.106, allocations: 271 kB / 472.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.1066, allocations: 366.7 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.1067, allocations: 56 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1069, allocations: 128 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.1072, allocations: 315 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.1076, allocations: 449.1 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.1089, allocations: 1.167 MB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.1089, allocations: 0 / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1089, allocations: 3.938 kB / 474.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.1089, allocations: 0 / 474.6 MB, free: 8.762 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.002296/0.1112, allocations: 1.442 MB / 476.1 MB, free: 7.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1113, allocations: 11.89 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.104e-05/0.1114, allocations: 70.72 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.1116, allocations: 116.2 kB / 476.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.1127, allocations: 0.8536 MB / 477.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.1128, allocations: 32.94 kB / 477.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.1128, allocations: 39.95 kB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.1137, allocations: 434.4 kB / 477.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1137, allocations: 0 / 477.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.1138, allocations: 12 kB / 477.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1138, allocations: 8 kB / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008182/0.1146, allocations: 307.7 kB / 478 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.1175, allocations: 1.962 MB / 479.9 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.1185, allocations: 322.8 kB / 480.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003419/0.1188, allocations: 120.8 kB / 480.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.465e-05/0.1189, allocations: 12.05 kB / 480.4 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.1194, allocations: 184.7 kB / 480.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.1194, allocations: 4 kB / 480.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001554/0.121, allocations: 0.5678 MB / 481.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.558e-05/0.1211, allocations: 140.4 kB / 481.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.1232, allocations: 1.674 MB / 482.9 MB, free: 164 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.1233, allocations: 33.7 kB / 483 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.1238, allocations: 477 kB / 483.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.1239, allocations: 91.27 kB / 483.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.124, allocations: 73.69 kB / 483.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1242, allocations: 318 kB / 483.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.1246, allocations: 148.7 kB / 484 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004472/0.125, allocations: 213.3 kB / 484.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.1258, allocations: 360.5 kB / 484.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1258, allocations: 0 / 484.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001275/0.1271, allocations: 0.5264 MB / 485.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.1272, allocations: 33.64 kB / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.1272, allocations: 4 kB / 485.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.1274, allocations: 24.84 kB / 485.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1277, allocations: 76.05 kB / 485.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.1289, allocations: 1.375 MB / 486.6 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004499/0.1293, allocations: 51.78 kB / 486.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1294, allocations: 12 kB / 486.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007704/0.1301, allocations: 455.9 kB / 487.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004145/0.1306, allocations: 217.3 kB / 487.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007122/0.1313, allocations: 331.8 kB / 487.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.1313, allocations: 0 / 487.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001116/0.1324, allocations: 0.5064 MB / 488.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.1325, allocations: 29.7 kB / 488.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1325, allocations: 4 kB / 488.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-05/0.1326, allocations: 29.06 kB / 488.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1329, allocations: 75.89 kB / 488.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.1339, allocations: 1.375 MB / 489.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.1343, allocations: 39.81 kB / 489.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.1344, allocations: 16 kB / 489.8 MB, free: 8.844 MB / 366.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.0001726/0.1346, allocations: 204.7 kB / 490 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.1347, allocations: 107.3 kB / 490.1 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.1358, allocations: 415.9 kB / 490.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1358, allocations: 7.938 kB / 490.5 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1358, allocations: 4 kB / 490.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1358, allocations: 4 kB / 490.5 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.1366, allocations: 0.6834 MB / 491.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1366, allocations: 7.922 kB / 491.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.1369, allocations: 51.97 kB / 491.2 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.728e-05/0.137, allocations: 20.84 kB / 491.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.137, allocations: 0 / 491.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.138, allocations: 1.375 MB / 492.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1381, allocations: 4.156 kB / 492.6 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.1394, allocations: 0.5559 MB / 493.2 MB, free: 5.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.1397, allocations: 224.3 kB / 493.4 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.1398, allocations: 8 kB / 493.4 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.1401, allocations: 23.97 kB / 493.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.094e-05/0.1402, allocations: 23.97 kB / 493.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.1402, allocations: 7.984 kB / 493.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001544/0.1418, allocations: 1.207 MB / 494.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1418, allocations: 4 kB / 494.7 MB, free: 3.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008019/0.1426, allocations: 267.4 kB / 494.9 MB, free: 3.406 MB / 366.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.003996/0.1466, allocations: 1.648 MB / 496.6 MB, free: 2.004 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.1484, allocations: 0.8189 MB / 497.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1484, allocations: 0 / 497.4 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.149, allocations: 258.5 kB / 497.6 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.1497, allocations: 124.1 kB / 497.8 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.1647, allocations: 9.646 MB / 0.4955 GB, free: 6.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/0.1657, allocations: 1.083 MB / 0.4966 GB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000542/0.1662, allocations: 165 kB / 0.4967 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.1667, allocations: 343.3 kB / 0.4971 GB, free: 5.312 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1667, allocations: 0 / 0.4971 GB, free: 5.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2279/0.3946, allocations: 19.59 MB / 0.5162 GB, free: 42.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.81, allocations: 6.25 kB / 0.5162 GB, free: 42.01 MB / 382.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)