Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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: translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.00131/0.00131, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.263/1.263, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03595/0.03595, allocations: 8.029 MB / 298.8 MB, free: 7.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 360.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1931, allocations: 51.19 MB / 412 MB, free: 26.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.00168/0.1948, allocations: 0.5344 MB / 412.5 MB, free: 25.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.1951, allocations: 94.8 kB / 412.6 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1951, allocations: 0 / 412.6 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.1951, allocations: 0 / 412.6 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.754e-05/0.1952, allocations: 0 / 412.6 MB, free: 25.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1954, allocations: 27.91 kB / 412.6 MB, free: 25.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.1955, allocations: 35.97 kB / 412.7 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.1955, allocations: 4 kB / 412.7 MB, free: 25.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.329e-05/0.1956, allocations: 19.92 kB / 412.7 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.1956, allocations: 19.98 kB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1956, allocations: 0 / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.1957, allocations: 31.97 kB / 412.7 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.123e-05/0.1958, allocations: 15.98 kB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.1958, allocations: 15.88 kB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.687e-05/0.1959, allocations: 39.94 kB / 412.8 MB, free: 25.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1959, allocations: 4 kB / 412.8 MB, free: 25.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1959, allocations: 0 / 412.8 MB, free: 25.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1959, allocations: 3.938 kB / 412.8 MB, free: 25.68 MB / 302.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.0002455/0.1962, allocations: 357.5 kB / 413.2 MB, free: 25.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1962, allocations: 12.03 kB / 413.2 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.1962, allocations: 0.9375 kB / 413.2 MB, free: 25.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.542e-05/0.1963, allocations: 168.3 kB / 413.3 MB, free: 25.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1963, allocations: 4.375 kB / 413.3 MB, free: 25.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1963, allocations: 8.375 kB / 413.4 MB, free: 25.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1965, allocations: 98.86 kB / 413.5 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1965, allocations: 192 / 413.5 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1965, allocations: 15.94 kB / 413.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.1965, allocations: 4 kB / 413.5 MB, free: 24.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.087e-05/0.1966, allocations: 55.89 kB / 413.5 MB, free: 24.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1969, allocations: 392.8 kB / 413.9 MB, free: 24.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.469e-05/0.197, allocations: 57.17 kB / 414 MB, free: 24.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.197, allocations: 25.72 kB / 414 MB, free: 24.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.1973, allocations: 194.3 kB / 414.2 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.1974, allocations: 38.56 kB / 414.2 MB, free: 24.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1974, allocations: 4 kB / 414.2 MB, free: 24.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002041/0.1976, allocations: 89.97 kB / 414.3 MB, free: 23.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.1976, allocations: 77.11 kB / 414.4 MB, free: 23.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.1977, allocations: 129.7 kB / 414.5 MB, free: 23.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.1977, allocations: 25.7 kB / 414.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.1977, allocations: 91.86 kB / 414.6 MB, free: 23.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.1977, allocations: 35.55 kB / 414.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1978, allocations: 41.7 kB / 414.7 MB, free: 23.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.1978, allocations: 314.8 kB / 415 MB, free: 23.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.1979, allocations: 27.92 kB / 415 MB, free: 23.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.699e-05/0.1979, allocations: 125.7 kB / 415.2 MB, free: 23.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.198, allocations: 161.5 kB / 415.3 MB, free: 22.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.198, allocations: 7.938 kB / 415.3 MB, free: 22.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001666/0.1982, allocations: 161.5 kB / 415.5 MB, free: 22.63 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1982, allocations: 11.98 kB / 415.5 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1982, allocations: 4 kB / 415.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1983, allocations: 4 kB / 415.5 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/0.2006, allocations: 447.8 kB / 415.9 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.2016, allocations: 4.677 MB / 420.6 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.632e-05/0.2017, allocations: 23.78 kB / 420.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.2017, allocations: 11.94 kB / 420.7 MB, free: 17.27 MB / 302.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 6.241e-05/0.2018, allocations: 125.8 kB / 420.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.2018, allocations: 8.094 kB / 420.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.202, allocations: 129.7 kB / 420.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.2021, allocations: 0 / 420.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2021, allocations: 0 / 420.9 MB, free: 17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.2021, allocations: 3.938 kB / 420.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.2022, allocations: 169.7 kB / 421.1 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2022, allocations: 4 kB / 421.1 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/0.2044, allocations: 419.6 kB / 421.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2044, allocations: 0 / 421.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2045, allocations: 11.98 kB / 421.5 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.2055, allocations: 4.681 MB / 426.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2055, allocations: 3.984 kB / 426.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.2056, allocations: 250.6 kB / 426.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.2056, allocations: 85.05 kB / 426.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2056, allocations: 4 kB / 426.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.2057, allocations: 4.094 kB / 426.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.2057, allocations: 11.94 kB / 426.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2057, allocations: 7.984 kB / 426.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.43e-05/0.2058, allocations: 87.28 kB / 426.6 MB, free: 11 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2058, allocations: 0 / 426.6 MB, free: 11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.2061, allocations: 23.98 kB / 426.7 MB, free: 10.98 MB / 302.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.000101/0.2062, allocations: 111.1 kB / 426.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.209, allocations: 0.5433 MB / 427.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.209, allocations: 0 / 427.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002505/0.2115, allocations: 0.5073 MB / 427.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2118, allocations: 0.625 kB / 427.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.2122, allocations: 275.5 kB / 428.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.2123, allocations: 0.6889 MB / 428.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.2124, allocations: 11.44 kB / 428.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2124, allocations: 0 / 428.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Templates: time 0.004051/0.2164, allocations: 3.089 MB / 431.9 MB, free: 5.688 MB / 302.1 MB make -j1 -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)