Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",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.001847/0.001847, 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.002184/0.002184, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.1474/0.1474, allocations: 8.398 MB / 298.8 MB, free: 2.207 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002467/0.002467, allocations: 71.89 kB / 361.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1253, allocations: 51.36 MB / 412.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006764/0.1321, allocations: 3.833 MB / 416.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.1354, allocations: 1.701 MB / 418.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004224/0.1358, allocations: 8 kB / 418.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.1365, allocations: 342.6 kB / 418.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.1374, allocations: 306.6 kB / 418.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009518/0.1383, allocations: 382 kB / 419.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009273/0.1393, allocations: 0.6862 MB / 419.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.1398, allocations: 329.4 kB / 420.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004292/0.1402, allocations: 298.9 kB / 420.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.1408, allocations: 398.5 kB / 420.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.141, allocations: 60 kB / 421 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002449/0.1412, allocations: 123.9 kB / 421.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.1415, allocations: 318.9 kB / 421.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005259/0.142, allocations: 485 kB / 421.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1616/0.3037, allocations: 1.187 MB / 423.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3037, allocations: 3 kB / 423.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3037, allocations: 0 / 423.1 MB, free: 38.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.632e-05/0.3038, allocations: 1.438 kB / 423.1 MB, free: 38.24 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002087/0.3059, allocations: 1.447 MB / 424.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3059, allocations: 16.05 kB / 424.5 MB, free: 37.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.306, allocations: 85.92 kB / 424.6 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.3061, allocations: 120.7 kB / 424.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.307, allocations: 0.8431 MB / 425.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.3071, allocations: 41.69 kB / 425.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.3072, allocations: 52.75 kB / 425.7 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000958/0.3081, allocations: 484.6 kB / 426.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.3082, allocations: 3.844 kB / 426.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.3082, allocations: 20.89 kB / 426.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.3082, allocations: 11.88 kB / 426.2 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008531/0.3091, allocations: 356.3 kB / 426.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.3121, allocations: 2.114 MB / 428.6 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.3129, allocations: 345.5 kB / 429 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.3132, allocations: 144.4 kB / 429.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.3133, allocations: 3.281 kB / 429.1 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.3137, allocations: 200.1 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 5.35e-06/0.3137, allocations: 3.141 kB / 429.3 MB, free: 36.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001636/0.3154, allocations: 0.6923 MB / 430 MB, free: 35.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3154, allocations: 54.5 kB / 430.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.3171, allocations: 1.655 MB / 431.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.3171, allocations: 36.86 kB / 431.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.3174, allocations: 0.4947 MB / 432.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.303e-05/0.3175, allocations: 99.84 kB / 432.3 MB, free: 35.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.3176, allocations: 86.95 kB / 432.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.046e-05/0.3177, allocations: 323.3 kB / 432.7 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.318, allocations: 134.1 kB / 432.9 MB, free: 35.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.3184, allocations: 215.4 kB / 433.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.319, allocations: 364.3 kB / 433.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3191, allocations: 7.281 kB / 433.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001087/0.3201, allocations: 0.5621 MB / 434 MB, free: 34.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.3202, allocations: 32.17 kB / 434 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3202, allocations: 3.125 kB / 434 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.3205, allocations: 67 kB / 434.1 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.3208, allocations: 69.66 kB / 434.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.3221, allocations: 1.812 MB / 436 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3224, allocations: 50.14 kB / 436 MB, free: 32.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.3225, allocations: 17.05 kB / 436 MB, free: 32.86 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0003527/0.3228, allocations: 380.9 kB / 436.4 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.3229, allocations: 103.9 kB / 436.5 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009251/0.3239, allocations: 479.8 kB / 437 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3239, allocations: 6.766 kB / 437 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3239, allocations: 0 / 437 MB, free: 32.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3239, allocations: 7.344 kB / 437 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3245, allocations: 0.72 MB / 437.7 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3245, allocations: 0 / 437.7 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.3247, allocations: 49.75 kB / 437.8 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.3249, allocations: 58.14 kB / 437.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.325, allocations: 10.94 kB / 437.8 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.3262, allocations: 1.824 MB / 439.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3262, allocations: 0.7812 kB / 439.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.3274, allocations: 0.6201 MB / 440.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.3276, allocations: 218.4 kB / 440.5 MB, free: 29.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.3277, allocations: 7.375 kB / 440.5 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.328, allocations: 27.62 kB / 440.5 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.3281, allocations: 42.59 kB / 440.6 MB, free: 29.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3281, allocations: 10.19 kB / 440.6 MB, free: 29.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001292/0.3294, allocations: 1.193 MB / 441.8 MB, free: 29.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3294, allocations: 0 / 441.8 MB, free: 29.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000662/0.3301, allocations: 158 kB / 441.9 MB, free: 29.41 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.003472/0.3336, allocations: 1.676 MB / 443.6 MB, free: 28.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3347, allocations: 0.5298 MB / 444.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3347, allocations: 0 / 444.1 MB, free: 28.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004557/0.3352, allocations: 290.5 kB / 444.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.3358, allocations: 104 kB / 444.5 MB, free: 28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.3467, allocations: 10.6 MB / 455.1 MB, free: 23.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.3472, allocations: 1.098 MB / 456.2 MB, free: 22.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.3474, allocations: 119.8 kB / 456.3 MB, free: 22.24 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.3477, allocations: 374.1 kB / 456.7 MB, free: 21.95 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3478, allocations: 0 / 456.7 MB, free: 21.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05483/0.4026, allocations: 19.13 MB / 475.8 MB, free: 19.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.99, allocations: 3.984 kB / 475.8 MB, free: 19.16 MB / 350.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1)