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 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.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.001333/0.001333, allocations: 108 kB / 15.61 MB, free: 152 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.001394/0.001395, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1577/0.1577, allocations: 8.942 MB / 299.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002269, allocations: 67.88 kB / 361.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1093, allocations: 51.49 MB / 413.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006293/0.1157, allocations: 3.741 MB / 417.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1179, allocations: 1.083 MB / 418.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.1182, allocations: 11.94 kB / 418.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005787/0.1188, allocations: 342.7 kB / 418.6 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.1194, allocations: 290.6 kB / 418.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.1202, allocations: 370.5 kB / 419.2 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007055/0.1209, allocations: 0.655 MB / 419.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004834/0.1214, allocations: 271.6 kB / 420.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.1218, allocations: 282.9 kB / 420.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003876/0.1222, allocations: 370.6 kB / 420.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.1223, allocations: 52 kB / 420.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1225, allocations: 119.9 kB / 421 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.1228, allocations: 311 kB / 421.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.1232, allocations: 457.1 kB / 421.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.1243, allocations: 1.145 MB / 422.9 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1243, allocations: 0 / 422.9 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1244, allocations: 0 / 422.9 MB, free: 4 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1244, allocations: 0 / 422.9 MB, free: 4 kB / 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.1847/0.3091, allocations: 1.4 MB / 424.3 MB, free: 43.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3091, allocations: 14.11 kB / 424.3 MB, free: 43.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.908e-05/0.3092, allocations: 78.23 kB / 424.3 MB, free: 43.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3094, allocations: 116.5 kB / 424.5 MB, free: 43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.3102, allocations: 0.8346 MB / 425.3 MB, free: 42.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.3103, allocations: 30.16 kB / 425.3 MB, free: 42.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.455e-05/0.3103, allocations: 45.28 kB / 425.4 MB, free: 42.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.311, allocations: 433.4 kB / 425.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3111, allocations: 4.734 kB / 425.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.3111, allocations: 20.8 kB / 425.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3111, allocations: 9.656 kB / 425.8 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.3118, allocations: 310.8 kB / 426.1 MB, free: 42.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.314, allocations: 2.006 MB / 428.1 MB, free: 41.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.3148, allocations: 321.4 kB / 428.4 MB, free: 41.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.315, allocations: 128.9 kB / 428.6 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.505e-05/0.3151, allocations: 11.05 kB / 428.6 MB, free: 41.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.3155, allocations: 175.7 kB / 428.8 MB, free: 41.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.244e-06/0.3155, allocations: 1.938 kB / 428.8 MB, free: 41.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001465/0.3169, allocations: 0.6357 MB / 429.4 MB, free: 41.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.317, allocations: 55.48 kB / 429.4 MB, free: 41.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.3185, allocations: 1.652 MB / 431.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3185, allocations: 34.86 kB / 431.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/0.3188, allocations: 495 kB / 431.6 MB, free: 40.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.3189, allocations: 79.14 kB / 431.7 MB, free: 40.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.242e-05/0.319, allocations: 76.88 kB / 431.8 MB, free: 40.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.319, allocations: 321 kB / 432.1 MB, free: 39.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3193, allocations: 121.9 kB / 432.2 MB, free: 39.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.3197, allocations: 194.9 kB / 432.4 MB, free: 39.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005779/0.3202, allocations: 342.2 kB / 432.7 MB, free: 39.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3203, allocations: 0 / 432.7 MB, free: 39.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000952/0.3212, allocations: 0.5429 MB / 433.3 MB, free: 39.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.3213, allocations: 39.67 kB / 433.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3213, allocations: 3.75 kB / 433.3 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.3216, allocations: 67.12 kB / 433.4 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.3218, allocations: 72.61 kB / 433.4 MB, free: 39.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3231, allocations: 1.818 MB / 435.3 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003096/0.3234, allocations: 46.28 kB / 435.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.3235, allocations: 14.31 kB / 435.3 MB, free: 37.47 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 (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.000333/0.3238, allocations: 378.3 kB / 435.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.3239, allocations: 94.59 kB / 435.8 MB, free: 37.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.3247, allocations: 452.8 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3248, allocations: 3.281 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3248, allocations: 3.281 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3248, allocations: 0.5156 kB / 436.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.3253, allocations: 0.6936 MB / 436.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3253, allocations: 3.281 kB / 436.9 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.3255, allocations: 45.89 kB / 437 MB, free: 36.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001782/0.3257, allocations: 65.3 kB / 437 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.3258, allocations: 4 kB / 437 MB, free: 36.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.3269, allocations: 1.809 MB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3269, allocations: 3.188 kB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3281, allocations: 0.5744 MB / 439.4 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.3283, allocations: 216.3 kB / 439.6 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.3284, allocations: 7.938 kB / 439.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3286, allocations: 23.77 kB / 439.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.3287, allocations: 24.06 kB / 439.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.3287, allocations: 14.22 kB / 439.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.3299, allocations: 1.187 MB / 440.9 MB, free: 34.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3299, allocations: 4 kB / 440.9 MB, free: 34.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000554/0.3305, allocations: 149.1 kB / 441.1 MB, free: 34.08 MB / 350.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.00338/0.3339, allocations: 1.622 MB / 442.7 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.3349, allocations: 0.4929 MB / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3349, allocations: 0 / 443.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.3353, allocations: 263.9 kB / 443.4 MB, free: 32.76 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.336, allocations: 115.8 kB / 443.5 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.3466, allocations: 10.39 MB / 453.9 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.3471, allocations: 1.094 MB / 455 MB, free: 27.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002577/0.3474, allocations: 113.1 kB / 455.1 MB, free: 27.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/0.3478, allocations: 360.6 kB / 455.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of SimCode: time 9.61e-07/0.3478, allocations: 0 / 455.5 MB, free: 26.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.4057, allocations: 18.65 MB / 474.1 MB, free: 23.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 11.61 kB / 474.1 MB, free: 23.83 MB / 350.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)