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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 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.001339/0.001339, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1557/0.1557, allocations: 8.021 MB / 298.4 MB, free: 2.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.88 kB / 360.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1066, 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.001592/0.1082, allocations: 481.5 kB / 412.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.1085, allocations: 87.59 kB / 412.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.1085, allocations: 4 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.53e-05/0.1086, allocations: 4 kB / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.1086, allocations: 0 / 412.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1088, allocations: 27.89 kB / 412.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.12e-05/0.1089, allocations: 43.84 kB / 412.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.1089, allocations: 4 kB / 412.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.932e-05/0.109, allocations: 11.98 kB / 412.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.447e-05/0.109, allocations: 15.98 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.109, allocations: 8 kB / 412.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.88e-05/0.1091, allocations: 31.97 kB / 412.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.1092, allocations: 11.94 kB / 412.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.1092, allocations: 19.91 kB / 412.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.1093, allocations: 63.81 kB / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1093, allocations: 0 / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1093, allocations: 0 / 412.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1093, allocations: 0 / 412.7 MB, free: 10.18 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.0002859/0.1096, allocations: 355.7 kB / 413.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1097, allocations: 8.031 kB / 413.1 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1097, allocations: 42.75 kB / 413.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.1097, allocations: 4.844 kB / 413.1 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.1098, allocations: 172.3 kB / 413.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.1098, allocations: 384 / 413.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.1099, allocations: 8.375 kB / 413.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.11, allocations: 91.94 kB / 413.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.11, allocations: 3.938 kB / 413.4 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1101, allocations: 4 kB / 413.4 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.1101, allocations: 19.97 kB / 413.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.72e-05/0.1102, allocations: 51.89 kB / 413.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1106, allocations: 392.8 kB / 413.9 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.1106, allocations: 49.08 kB / 413.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1107, allocations: 29.89 kB / 413.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.111, allocations: 198.3 kB / 414.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1111, allocations: 46.48 kB / 414.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1111, allocations: 4 kB / 414.2 MB, free: 8.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002291/0.1113, allocations: 93.5 kB / 414.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.1114, allocations: 77.11 kB / 414.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.1114, allocations: 117.8 kB / 414.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.1115, allocations: 25.7 kB / 414.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1115, allocations: 107.7 kB / 414.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.1115, allocations: 27.56 kB / 414.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.1116, allocations: 37.7 kB / 414.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.1117, allocations: 326.8 kB / 415 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.085e-05/0.1117, allocations: 19.98 kB / 415 MB, free: 7.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.1118, allocations: 127.3 kB / 415.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.112, allocations: 161.5 kB / 415.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.112, allocations: 4 kB / 415.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002329/0.1122, allocations: 161.6 kB / 415.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1123, allocations: 8.031 kB / 415.4 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1123, allocations: 4 kB / 415.4 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1123, allocations: 4 kB / 415.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.1149, allocations: 439.5 kB / 415.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/0.1168, allocations: 4.681 MB / 420.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.585e-05/0.1168, allocations: 19.78 kB / 420.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1169, allocations: 8 kB / 420.6 MB, free: 1.73 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 8.667e-05/0.1169, allocations: 129.7 kB / 420.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.117, allocations: 7.906 kB / 420.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.1173, allocations: 125.9 kB / 420.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1173, allocations: 0 / 420.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1173, allocations: 0 / 420.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.1173, allocations: 11.92 kB / 420.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.1175, allocations: 169.7 kB / 421 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1175, allocations: 0 / 421 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/0.12, allocations: 427.6 kB / 421.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.12, allocations: 0 / 421.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.12, allocations: 8 kB / 421.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.1219, allocations: 4.677 MB / 426.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1219, allocations: 8.031 kB / 426.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.1221, allocations: 247.2 kB / 426.4 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1222, allocations: 89.05 kB / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1222, allocations: 4 kB / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.1223, allocations: 0 / 426.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.1223, allocations: 15.91 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1223, allocations: 4 kB / 426.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.1223, allocations: 95.27 kB / 426.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1223, allocations: 4 kB / 426.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1227, 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.0004232/0.1231, allocations: 0.7941 MB / 427.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003152/0.1263, allocations: 0.551 MB / 427.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1263, allocations: 3.938 kB / 427.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.1291, allocations: 499.6 kB / 428.4 MB, free: 9.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1294, allocations: 13.97 kB / 428.4 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008058/0.1303, allocations: 279.5 kB / 428.7 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1305, allocations: 0.6966 MB / 429.4 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.925e-05/0.1306, allocations: 16.55 kB / 429.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.1306, allocations: 19.42 kB / 429.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1306, allocations: 0 / 429.5 MB, free: 8.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.15, allocations: 2.861 MB / 432.3 MB, free: 5.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.72, allocations: 7.938 kB / 432.3 MB, free: 5.695 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2_fmu --startTime=0.1 --stopTime=1.35 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_SupportModels_MapBasedRelated_EffiPlot2.fmu > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)