Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.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.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",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.001146/0.001146, 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.001242/0.001242, allocations: 193.7 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1743/0.1743, allocations: 8.038 MB / 298.4 MB, free: 2.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 360.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 51.18 MB / 411.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001725/0.1032, allocations: 491.9 kB / 412.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002681/0.1035, allocations: 87.64 kB / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.1035, allocations: 0 / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.157e-05/0.1036, allocations: 0 / 412.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.1036, allocations: 11.88 kB / 412.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.1039, allocations: 27.91 kB / 412.5 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.104, allocations: 39.95 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.008e-05/0.104, allocations: 3.938 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.1041, allocations: 12 kB / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.429e-05/0.1041, allocations: 19.98 kB / 412.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1041, allocations: 0 / 412.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1043, allocations: 27.97 kB / 412.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1043, allocations: 27.91 kB / 412.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.1044, allocations: 11.94 kB / 412.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1045, allocations: 59.81 kB / 412.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1045, allocations: 4 kB / 412.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1045, allocations: 0 / 412.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.1045, allocations: 0 / 412.7 MB, free: 10.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0003562/0.1049, allocations: 355.7 kB / 413.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1049, allocations: 12.03 kB / 413.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.105, allocations: 34.75 kB / 413.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.105, allocations: 8.844 kB / 413.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.1052, allocations: 168.3 kB / 413.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1052, allocations: 4.375 kB / 413.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.1052, allocations: 384 / 413.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1054, allocations: 99.92 kB / 413.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1054, allocations: 7.875 kB / 413.4 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1054, allocations: 4 kB / 413.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.1055, allocations: 7.984 kB / 413.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.1056, allocations: 43.97 kB / 413.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.106, allocations: 404.9 kB / 413.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.1061, allocations: 53.08 kB / 413.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.1061, allocations: 21.89 kB / 413.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.1065, allocations: 206.2 kB / 414.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1065, allocations: 30.56 kB / 414.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.566e-06/0.1066, allocations: 7.922 kB / 414.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002379/0.1068, allocations: 93.5 kB / 414.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1068, allocations: 85.05 kB / 414.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.1069, allocations: 121.8 kB / 414.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.107, allocations: 25.7 kB / 414.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.107, allocations: 107.8 kB / 414.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1071, allocations: 27.56 kB / 414.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1071, allocations: 37.7 kB / 414.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.28e-05/0.1072, allocations: 322.8 kB / 415 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.1073, allocations: 27.92 kB / 415 MB, free: 7.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1074, allocations: 117.7 kB / 415.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1076, allocations: 169.5 kB / 415.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1076, allocations: 0 / 415.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002231/0.1078, allocations: 157.2 kB / 415.4 MB, free: 7.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1078, allocations: 8 kB / 415.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1078, allocations: 4 kB / 415.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1079, allocations: 4 kB / 415.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/0.1104, allocations: 444.1 kB / 415.9 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.1127, allocations: 4.677 MB / 420.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.1128, allocations: 19.78 kB / 420.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.1128, allocations: 16.28 kB / 420.6 MB, free: 1.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.1129, allocations: 133.7 kB / 420.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.066e-05/0.113, allocations: 7.906 kB / 420.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.1132, allocations: 117.5 kB / 420.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1133, allocations: 7.984 kB / 420.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1133, allocations: 4 kB / 420.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1133, allocations: 3.938 kB / 420.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.1135, allocations: 165.7 kB / 421 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1135, allocations: 0 / 421 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/0.116, allocations: 431.5 kB / 421.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.116, allocations: 0 / 421.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.116, allocations: 4 kB / 421.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.1182, allocations: 4.677 MB / 426.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1182, allocations: 3.938 kB / 426.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1184, allocations: 262.9 kB / 426.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1185, allocations: 77.11 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.1185, allocations: 7.938 kB / 426.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.1186, allocations: 7.984 kB / 426.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.1186, allocations: 7.938 kB / 426.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1186, allocations: 7.938 kB / 426.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.652e-05/0.1187, allocations: 91.27 kB / 426.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1187, allocations: 0 / 426.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.119, allocations: 20 kB / 426.6 MB, free: 11.39 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004952/0.1195, allocations: 0.7903 MB / 427.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.1226, allocations: 0.5593 MB / 427.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1226, allocations: 0 / 427.9 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.1254, allocations: 0.4917 MB / 428.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.1257, allocations: 11.94 kB / 428.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.1264, allocations: 287.1 kB / 428.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1267, allocations: 0.6927 MB / 429.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1267, allocations: 12.55 kB / 429.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.1268, allocations: 23.42 kB / 429.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1268, allocations: 0 / 429.5 MB, free: 8.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1452, allocations: 2.856 MB / 432.3 MB, free: 5.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.9, allocations: 8.047 kB / 432.3 MB, free: 5.645 MB / 366.1 MB (rm -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2_res.csv --start-time 0.1 --stop-time 1.35 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)