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.001176/0.001176, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001263/0.001263, allocations: 189.6 kB / 16.25 MB, free: 6.582 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.27/1.27, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1677/0.1677, allocations: 8.032 MB / 298.1 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.89 kB / 360.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.0929, allocations: 51.19 MB / 411.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001427/0.09436, allocations: 0.5311 MB / 412 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002165/0.09459, allocations: 91.64 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.28e-05/0.09461, allocations: 0 / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.09466, allocations: 0 / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 1.866e-05/0.09468, allocations: 0 / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.09486, allocations: 27.92 kB / 412.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.09494, allocations: 39.91 kB / 412.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.09498, allocations: 3.984 kB / 412.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.874e-05/0.095, allocations: 15.98 kB / 412.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.09504, allocations: 19.98 kB / 412.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.09505, allocations: 0 / 412.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.67e-05/0.09515, allocations: 31.97 kB / 412.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.09518, allocations: 15.94 kB / 412.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.09522, allocations: 23.84 kB / 412.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.412e-05/0.09532, allocations: 55.81 kB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.09533, allocations: 0 / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09533, allocations: 4 kB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.09534, allocations: 0 / 412.3 MB, free: 10.5 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.0002888/0.09563, allocations: 355.7 kB / 412.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.09567, allocations: 12.03 kB / 412.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.09571, allocations: 34.75 kB / 412.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.09573, allocations: 8.844 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.09582, allocations: 168.3 kB / 412.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.09584, allocations: 4.375 kB / 412.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.09585, allocations: 4.375 kB / 412.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.096, allocations: 91.94 kB / 412.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.09602, allocations: 3.938 kB / 413 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.09603, allocations: 4 kB / 413 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.09606, allocations: 11.97 kB / 413 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.09618, allocations: 51.89 kB / 413 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.09657, allocations: 400.8 kB / 413.4 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.09665, allocations: 53.08 kB / 413.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.09669, allocations: 33.89 kB / 413.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/0.09706, allocations: 206.2 kB / 413.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.09708, allocations: 30.56 kB / 413.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.09709, allocations: 0 / 413.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002102/0.0973, allocations: 97.5 kB / 413.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.09734, allocations: 81.11 kB / 413.9 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.09743, allocations: 113.8 kB / 414 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.09745, allocations: 37.7 kB / 414 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.0975, allocations: 99.78 kB / 414.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.09753, allocations: 27.56 kB / 414.2 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.09758, allocations: 41.64 kB / 414.2 MB, free: 8.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.09769, allocations: 322.8 kB / 414.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.563e-05/0.09775, allocations: 23.98 kB / 414.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.09786, allocations: 124.8 kB / 414.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.09803, allocations: 169.5 kB / 414.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.09804, allocations: 0 / 414.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000203/0.09825, allocations: 157.2 kB / 415 MB, free: 7.395 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.09827, allocations: 8 kB / 415 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.09828, allocations: 4 kB / 415 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.09829, allocations: 4 kB / 415 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/0.1007, allocations: 444 kB / 415.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.1034, allocations: 4.677 MB / 420.1 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.353e-05/0.1035, allocations: 27.72 kB / 420.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.1035, allocations: 8 kB / 420.2 MB, free: 2.047 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.0001213/0.1037, allocations: 134 kB / 420.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.1037, allocations: 7.906 kB / 420.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.104, allocations: 121.8 kB / 420.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.104, allocations: 0 / 420.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.104, allocations: 4 kB / 420.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.104, allocations: 7.922 kB / 420.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1043, allocations: 169.7 kB / 420.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1043, allocations: 4 kB / 420.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/0.1066, allocations: 419.6 kB / 421 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1066, allocations: 0 / 421 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.1066, allocations: 4 kB / 421 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.1088, allocations: 4.688 MB / 425.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.1089, allocations: 7.969 kB / 425.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1091, allocations: 247.3 kB / 425.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.1091, allocations: 85.11 kB / 426 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1092, allocations: 0 / 426 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.565e-05/0.1092, allocations: 4 kB / 426 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1093, allocations: 15.91 kB / 426 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1093, allocations: 4 kB / 426 MB, free: 11.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.1093, allocations: 91.27 kB / 426.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1094, allocations: 0 / 426.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000334/0.1097, allocations: 24 kB / 426.2 MB, free: 11.74 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.0005638/0.1103, allocations: 0.7936 MB / 427 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.1133, allocations: 0.551 MB / 427.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1133, allocations: 0 / 427.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00273/0.116, allocations: 0.4956 MB / 428 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1163, allocations: 18.22 kB / 428 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007642/0.1171, allocations: 299.4 kB / 428.3 MB, free: 9.523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.1174, allocations: 0.6927 MB / 429 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.71e-05/0.1174, allocations: 12.55 kB / 429 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.1175, allocations: 19.42 kB / 429 MB, free: 8.77 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1175, allocations: 4 kB / 429 MB, free: 8.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.131, allocations: 2.779 MB / 431.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.1313, allocations: 216.2 kB / 432 MB, free: 5.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/1.927, allocations: 0 / 432 MB, free: 5.855 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)