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.001228/0.001228, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001216/0.001217, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.245/1.245, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.4811/0.4811, allocations: 8.027 MB / 298.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 360.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08574, allocations: 51.21 MB / 411.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001418/0.08718, allocations: 0.535 MB / 412 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.08745, allocations: 83.7 kB / 412.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.08748, allocations: 0 / 412.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.08754, allocations: 3.938 kB / 412.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.983e-05/0.08758, allocations: 4 kB / 412.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.08778, allocations: 15.98 kB / 412.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.93e-05/0.08788, allocations: 39.95 kB / 412.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.08793, allocations: 3.938 kB / 412.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.08796, allocations: 19.98 kB / 412.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.088, allocations: 23.97 kB / 412.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.08802, allocations: 4 kB / 412.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.738e-05/0.08811, allocations: 27.97 kB / 412.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.08814, allocations: 15.94 kB / 412.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.08818, allocations: 15.92 kB / 412.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.0883, allocations: 55.81 kB / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.08831, allocations: 0 / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08831, allocations: 0 / 412.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.08832, allocations: 7.938 kB / 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.0002953/0.08862, allocations: 363.6 kB / 412.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.08867, allocations: 8.031 kB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.08871, allocations: 38.75 kB / 412.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.08874, allocations: 4.844 kB / 412.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.08884, allocations: 168.4 kB / 412.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.08886, allocations: 384 / 412.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.08887, allocations: 4.375 kB / 412.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.08905, allocations: 102.5 kB / 413 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.08906, allocations: 3.938 kB / 413 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.08908, allocations: 4 kB / 413 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.08911, allocations: 11.98 kB / 413 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.206e-05/0.0892, allocations: 43.97 kB / 413 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.08958, allocations: 404.7 kB / 413.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.395e-05/0.08966, allocations: 45.14 kB / 413.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/0.08971, allocations: 37.89 kB / 413.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.09005, allocations: 194.1 kB / 413.7 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.09008, allocations: 42.55 kB / 413.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.09009, allocations: 3.938 kB / 413.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002192/0.09031, allocations: 93.78 kB / 413.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.09036, allocations: 85.09 kB / 413.9 MB, free: 8.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.09044, allocations: 113.8 kB / 414 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.09046, allocations: 25.7 kB / 414 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.09052, allocations: 107.8 kB / 414.2 MB, free: 8.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.09055, allocations: 31.7 kB / 414.2 MB, free: 8.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.09059, allocations: 37.7 kB / 414.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.09069, allocations: 322.8 kB / 414.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.09074, allocations: 23.97 kB / 414.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.09083, allocations: 121.7 kB / 414.7 MB, free: 7.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.091, allocations: 169.5 kB / 414.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.09101, allocations: 0 / 414.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002046/0.09122, allocations: 157.5 kB / 415 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.09123, allocations: 4 kB / 415 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.09124, allocations: 4 kB / 415 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.09126, allocations: 4 kB / 415 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/0.09367, allocations: 443.8 kB / 415.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.0957, allocations: 4.685 MB / 420.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.09577, allocations: 15.78 kB / 420.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.09579, allocations: 12 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 9.476e-05/0.09589, allocations: 133.7 kB / 420.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.09594, allocations: 8.031 kB / 420.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.09618, allocations: 121.8 kB / 420.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.09619, allocations: 3.938 kB / 420.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.0962, allocations: 0 / 420.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.09621, allocations: 7.938 kB / 420.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.09642, allocations: 169.7 kB / 420.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.09643, allocations: 4 kB / 420.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/0.09877, allocations: 423.6 kB / 421 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.09878, allocations: 0 / 421 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.0988, allocations: 4 kB / 421 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.1009, allocations: 4.685 MB / 425.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1009, allocations: 3.938 kB / 425.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1011, allocations: 254.7 kB / 425.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.1011, allocations: 81.11 kB / 426 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1011, allocations: 3.938 kB / 426 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.1012, allocations: 4 kB / 426 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1012, allocations: 16.02 kB / 426.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1013, allocations: 4 kB / 426.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.1013, allocations: 95.27 kB / 426.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1013, allocations: 0 / 426.1 MB, free: 11.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1016, allocations: 20 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.0004332/0.1021, allocations: 0.7936 MB / 427 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003008/0.1051, allocations: 0.5472 MB / 427.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1051, allocations: 0 / 427.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/0.1078, 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.0002708/0.1081, allocations: 11.94 kB / 428 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006954/0.1088, allocations: 296 kB / 428.3 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.1091, allocations: 0.6966 MB / 429 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.262e-05/0.1091, 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.358e-05/0.1091, allocations: 11.44 kB / 429 MB, free: 8.777 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1092, allocations: 0 / 429 MB, free: 8.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.1214, allocations: 2.797 MB / 431.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/0.1217, allocations: 235 kB / 432.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/1.745, allocations: 3.5 kB / 432.1 MB, free: 5.863 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)