Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",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.006119/0.006119, allocations: 98.59 kB / 15.73 MB, free: 6.055 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.001257/0.001257, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04025/0.04025, allocations: 8.418 MB / 298.9 MB, free: 6.371 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001813, allocations: 71.88 kB / 413.3 MB, free: 22.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08722/0.08906, allocations: 51.36 MB / 464.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00554/0.09464, allocations: 3.75 MB / 468.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.09656, allocations: 1.079 MB / 469.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.0968, allocations: 7.938 kB / 469.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.09737, allocations: 338.7 kB / 469.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.09792, allocations: 290.6 kB / 470.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.09869, allocations: 364.6 kB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007293/0.09943, allocations: 0.6551 MB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.09988, allocations: 287.2 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.1003, allocations: 286.9 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.1007, allocations: 366.7 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.1008, allocations: 55.94 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.101, allocations: 119.9 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002761/0.1013, allocations: 307.1 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.1017, allocations: 461.1 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.103, allocations: 1.167 MB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.103, allocations: 0 / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.103, allocations: 0 / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1031, allocations: 4 kB / 474.2 MB, free: 9.223 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002268/0.1053, allocations: 1.452 MB / 475.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1054, allocations: 11.89 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.273e-05/0.1055, allocations: 78.72 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.1057, allocations: 128.1 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.1068, allocations: 0.8378 MB / 476.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.1069, allocations: 33 kB / 476.7 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/0.1069, allocations: 40 kB / 476.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.1078, allocations: 443.8 kB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.1078, allocations: 0 / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.1079, allocations: 16 kB / 477.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.1079, allocations: 15.98 kB / 477.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007839/0.1087, allocations: 311.7 kB / 477.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.1116, allocations: 2.005 MB / 479.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.1124, allocations: 314.8 kB / 479.8 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.1127, allocations: 116.8 kB / 479.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.1128, allocations: 11.92 kB / 479.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/0.1132, allocations: 196 kB / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/0.1133, allocations: 0 / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00172/0.115, allocations: 0.6314 MB / 480.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.115, allocations: 59.34 kB / 480.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.1171, allocations: 1.651 MB / 482.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.1171, allocations: 41.69 kB / 482.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004533/0.1176, allocations: 481.1 kB / 483 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1177, allocations: 95.28 kB / 483.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1178, allocations: 78.02 kB / 483.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.118, allocations: 322 kB / 483.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.1184, allocations: 120.7 kB / 483.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.1188, allocations: 196 kB / 483.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.1195, allocations: 337.6 kB / 484.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1195, allocations: 0 / 484.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001219/0.1208, allocations: 0.5521 MB / 484.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.1208, allocations: 33.91 kB / 484.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1208, allocations: 15.88 kB / 484.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.1211, allocations: 60.81 kB / 484.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.1214, allocations: 71.89 kB / 484.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.1233, allocations: 1.811 MB / 486.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.1237, allocations: 55.77 kB / 486.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.1237, allocations: 8 kB / 486.7 MB, free: 12.13 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.00048/0.1242, allocations: 386.1 kB / 487.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1244, allocations: 99.34 kB / 487.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1254, allocations: 443.6 kB / 487.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1254, allocations: 7.938 kB / 487.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1254, allocations: 0 / 487.6 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1254, allocations: 3.984 kB / 487.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.1262, allocations: 0.6872 MB / 488.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1262, allocations: 0 / 488.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.1265, allocations: 43.91 kB / 488.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.1267, allocations: 64.81 kB / 488.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.1267, allocations: 4 kB / 488.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.1286, allocations: 1.81 MB / 490.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1286, allocations: 3.984 kB / 490.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.1299, allocations: 0.5965 MB / 490.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.1302, allocations: 224.4 kB / 491.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-05/0.1303, allocations: 8 kB / 491.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.1305, allocations: 19.97 kB / 491.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.1306, allocations: 27.91 kB / 491.1 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.1307, allocations: 12 kB / 491.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001599/0.1323, allocations: 1.187 MB / 492.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1323, allocations: 0 / 492.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005671/0.1329, allocations: 155.7 kB / 492.5 MB, free: 6.121 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0038/0.1367, allocations: 1.623 MB / 494.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.1378, allocations: 486.7 kB / 494.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1378, allocations: 0 / 494.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.1383, allocations: 274.4 kB / 494.8 MB, free: 3.953 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006907/0.139, allocations: 107.7 kB / 494.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01417/0.1532, allocations: 9.697 MB / 0.4928 GB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.1541, allocations: 1.086 MB / 0.4939 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00028/0.1544, allocations: 117.1 kB / 0.494 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.1548, allocations: 355.3 kB / 0.4943 GB, free: 8.383 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1549, allocations: 0 / 0.4943 GB, free: 8.383 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/0.3827, allocations: 19.07 MB / 0.5129 GB, free: 44.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.25, allocations: 6.312 kB / 0.5129 GB, free: 44.39 MB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1)