Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.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.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_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.007122/0.007122, allocations: 100.1 kB / 15.73 MB, free: 6.043 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.001829/0.001829, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2093/0.2093, allocations: 8.024 MB / 298.6 MB, free: 2.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 55.91 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2963, allocations: 51.18 MB / 463.7 MB, free: 18.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.005229/0.3016, allocations: 3.203 MB / 466.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3032, allocations: 0.8031 MB / 467.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002067/0.3035, allocations: 6.5 kB / 467.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007062/0.3042, allocations: 286.9 kB / 468 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.3046, allocations: 220.2 kB / 468.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.3053, allocations: 287.2 kB / 468.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.3059, allocations: 499.1 kB / 469 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.3063, allocations: 201.2 kB / 469.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.3066, allocations: 213.6 kB / 469.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.3071, allocations: 280.5 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.3072, allocations: 40.12 kB / 469.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3074, allocations: 62.8 kB / 469.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.3076, allocations: 190.6 kB / 470 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.3079, allocations: 296.2 kB / 470.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.3088, allocations: 0.7202 MB / 471 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3088, allocations: 1.281 kB / 471 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3088, allocations: 7.938 kB / 471 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.3088, allocations: 0 / 471 MB, free: 13.85 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001728/0.3106, allocations: 1.014 MB / 472 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3106, allocations: 9.578 kB / 472 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.1e-05/0.3107, allocations: 68.7 kB / 472.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/0.3109, allocations: 79.47 kB / 472.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.3117, allocations: 0.5381 MB / 472.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.3118, allocations: 26.45 kB / 472.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/0.3119, allocations: 29.81 kB / 472.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008084/0.3127, allocations: 380.1 kB / 473.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.3127, allocations: 1.375 kB / 473.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3128, allocations: 16.91 kB / 473.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3128, allocations: 7.656 kB / 473.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.3136, allocations: 262.9 kB / 473.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/0.3163, allocations: 1.675 MB / 475.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.3172, allocations: 281.8 kB / 475.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003367/0.3176, allocations: 106.2 kB / 475.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.3176, allocations: 3.453 kB / 475.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.3181, allocations: 167.4 kB / 475.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3181, allocations: 0 / 475.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001974/0.3201, allocations: 0.644 MB / 476.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.3201, allocations: 81.58 kB / 476.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3213, allocations: 0.9745 MB / 477.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3213, allocations: 35.02 kB / 477.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3215, allocations: 356.1 kB / 477.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.92e-05/0.3216, allocations: 68.25 kB / 477.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3217, allocations: 61.78 kB / 477.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.3218, allocations: 376.7 kB / 478.2 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.3222, allocations: 108.6 kB / 478.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.3226, allocations: 198.8 kB / 478.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006437/0.3232, allocations: 314.9 kB / 478.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3232, allocations: 0 / 478.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001203/0.3244, allocations: 0.5028 MB / 479.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.3245, allocations: 36.45 kB / 479.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.3245, allocations: 7.562 kB / 479.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.3247, allocations: 64.22 kB / 479.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.325, allocations: 48.22 kB / 479.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.327, allocations: 1.977 MB / 481.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3274, allocations: 39.62 kB / 481.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3274, allocations: 13.84 kB / 481.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004936/0.3279, allocations: 311.7 kB / 481.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003334/0.3283, allocations: 184.8 kB / 482 MB, free: 6.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00055/0.3288, allocations: 303.9 kB / 482.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.3288, allocations: 1.312 kB / 482.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009676/0.3298, allocations: 429.6 kB / 482.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.3298, allocations: 32.52 kB / 482.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3299, allocations: 3.25 kB / 482.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.33, allocations: 48.92 kB / 482.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3303, allocations: 52.03 kB / 482.8 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.3314, allocations: 1.775 MB / 484.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3317, allocations: 37.44 kB / 484.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.3317, allocations: 8.438 kB / 484.7 MB, free: 4.059 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001663/0.3319, allocations: 202.5 kB / 484.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.332, allocations: 58.78 kB / 484.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.333, allocations: 407.9 kB / 485.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3331, allocations: 5.125 kB / 485.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3331, allocations: 1.094 kB / 485.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3331, allocations: 0 / 485.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005165/0.3336, allocations: 499.5 kB / 485.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3336, allocations: 0 / 485.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.3339, allocations: 33.25 kB / 485.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002539/0.3341, allocations: 74.12 kB / 485.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.3341, allocations: 2.156 kB / 485.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.3361, allocations: 1.959 MB / 487.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3361, allocations: 0 / 487.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.3375, allocations: 0.518 MB / 488.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.3378, allocations: 153.1 kB / 488.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.3379, allocations: 10.73 kB / 488.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.3381, allocations: 29.75 kB / 488.6 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3382, allocations: 25.58 kB / 488.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3382, allocations: 4.125 kB / 488.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00084/0.3391, allocations: 0.7155 MB / 489.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3391, allocations: 1.375 kB / 489.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008752/0.34, allocations: 194.7 kB / 489.5 MB, free: 456 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,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 (15): * Single equations (assignments): 12 * 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.002303/0.3423, allocations: 1.308 MB / 490.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.3442, allocations: 0.7992 MB / 491.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3443, allocations: 0 / 491.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/0.345, allocations: 300.8 kB / 491.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/0.3456, allocations: 87.89 kB / 492 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.3558, allocations: 6.106 MB / 498.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.3564, allocations: 0.9217 MB / 499 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002118/0.3566, allocations: 67.19 kB / 499.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.3569, allocations: 219.4 kB / 499.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3569, allocations: 0 / 499.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0383/0.3952, allocations: 13.26 MB / 0.5006 GB, free: 11.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/12.93, allocations: 14.45 kB / 0.5006 GB, free: 11.75 MB / 382.1 MB (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)