Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,fileNamePrefix="EHPTlib_latest_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.001149/0.001149, 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.00121/0.00121, allocations: 194.1 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1606/0.1606, allocations: 8.025 MB / 298.4 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09765, allocations: 51.19 MB / 411.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001787/0.09948, allocations: 485.5 kB / 412.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.09976, allocations: 91.58 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.499e-05/0.09979, allocations: 0 / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.09987, allocations: 3.938 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.631e-05/0.0999, allocations: 3.984 kB / 412.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1002, allocations: 35.86 kB / 412.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.1003, allocations: 35.95 kB / 412.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.754e-05/0.1003, allocations: 4 kB / 412.6 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.1004, allocations: 8 kB / 412.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.099e-05/0.1004, allocations: 23.97 kB / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1004, allocations: 0 / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1006, allocations: 27.97 kB / 412.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.1006, allocations: 19.92 kB / 412.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.1006, allocations: 19.88 kB / 412.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1008, allocations: 59.88 kB / 412.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1008, allocations: 4 kB / 412.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1008, allocations: 0 / 412.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1008, allocations: 0 / 412.7 MB, free: 10.17 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.0003402/0.1012, allocations: 355.6 kB / 413.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1012, allocations: 12.03 kB / 413.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.432e-05/0.1012, allocations: 42.72 kB / 413.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.1013, allocations: 8.844 kB / 413.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.1014, allocations: 160.4 kB / 413.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1014, allocations: 4.375 kB / 413.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1014, allocations: 384 / 413.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.1016, allocations: 105.8 kB / 413.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1016, allocations: 3.938 kB / 413.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1017, allocations: 0 / 413.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.1017, allocations: 12 kB / 413.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.972e-05/0.1018, allocations: 43.91 kB / 413.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.1022, allocations: 412.7 kB / 413.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.1023, allocations: 45.16 kB / 413.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.1024, allocations: 25.89 kB / 413.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.1028, allocations: 202.2 kB / 414.1 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.1028, allocations: 34.5 kB / 414.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.1028, allocations: 0 / 414.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002728/0.1031, allocations: 97.5 kB / 414.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1032, allocations: 85.05 kB / 414.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.1033, allocations: 113.8 kB / 414.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1033, allocations: 29.7 kB / 414.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.1034, allocations: 103.9 kB / 414.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.1034, allocations: 35.53 kB / 414.6 MB, free: 8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.1034, allocations: 33.72 kB / 414.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1036, allocations: 322.8 kB / 415 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1036, allocations: 23.98 kB / 415 MB, free: 7.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1037, allocations: 121.7 kB / 415.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1039, allocations: 165.5 kB / 415.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1039, allocations: 0 / 415.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002416/0.1042, allocations: 157.2 kB / 415.4 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1042, allocations: 8 kB / 415.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1042, allocations: 4 kB / 415.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1042, allocations: 4 kB / 415.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/0.1068, allocations: 444 kB / 415.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.1092, allocations: 4.681 MB / 420.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.1093, allocations: 19.78 kB / 420.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1093, allocations: 16.27 kB / 420.6 MB, free: 1.723 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.0001176/0.1095, allocations: 125.8 kB / 420.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.1095, allocations: 15.83 kB / 420.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.1098, allocations: 118.2 kB / 420.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1098, allocations: 4 kB / 420.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1098, allocations: 4 kB / 420.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1098, allocations: 7.875 kB / 420.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1101, allocations: 169.7 kB / 421 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1101, allocations: 0 / 421 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/0.1125, allocations: 423.6 kB / 421.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.1125, allocations: 7.938 kB / 421.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/0.1125, allocations: 4 kB / 421.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.1148, allocations: 4.681 MB / 426.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1148, allocations: 3.938 kB / 426.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.115, allocations: 258.9 kB / 426.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.115, allocations: 81.09 kB / 426.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1151, allocations: 8 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.1152, allocations: 0 / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1152, allocations: 7.938 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1152, allocations: 4 kB / 426.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.21e-05/0.1153, allocations: 91.27 kB / 426.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1153, allocations: 0 / 426.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.1156, allocations: 20 kB / 426.6 MB, free: 11.42 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.0005512/0.1162, allocations: 0.8019 MB / 427.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.1192, allocations: 0.5511 MB / 427.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.1192, allocations: 0 / 427.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.1219, allocations: 0.4956 MB / 428.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1222, allocations: 17.91 kB / 428.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009086/0.1231, allocations: 272 kB / 428.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1235, allocations: 0.6927 MB / 429.4 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.1235, allocations: 16.53 kB / 429.4 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1236, allocations: 19.44 kB / 429.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1236, allocations: 0 / 429.5 MB, free: 8.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.145, allocations: 2.866 MB / 432.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/10.95, allocations: 8 kB / 432.3 MB, free: 5.684 MB / 366.1 MB (rm -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)