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: translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001365/0.001365, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1518/0.1518, allocations: 8.925 MB / 298.9 MB, free: 2.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09754, allocations: 51.48 MB / 412.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001837/0.09942, allocations: 0.5352 MB / 413.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.09978, allocations: 107.6 kB / 413.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.09981, allocations: 0 / 413.2 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.283e-05/0.09987, allocations: 4 kB / 413.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.09991, allocations: 0 / 413.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1001, allocations: 15.98 kB / 413.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.816e-05/0.1002, allocations: 43.89 kB / 413.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.1002, allocations: 3.938 kB / 413.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.1003, allocations: 15.98 kB / 413.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.1003, allocations: 15.98 kB / 413.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1003, allocations: 4 kB / 413.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1005, allocations: 31.97 kB / 413.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.1005, allocations: 15.92 kB / 413.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1006, allocations: 15.94 kB / 413.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1007, allocations: 63.8 kB / 413.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1007, allocations: 0 / 413.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1007, allocations: 0 / 413.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.1007, allocations: 0 / 413.5 MB, free: 9.277 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.000377/0.1011, allocations: 347.7 kB / 413.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1011, allocations: 16.02 kB / 413.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1012, allocations: 4.844 kB / 413.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.1013, allocations: 168.3 kB / 414 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1013, allocations: 4.375 kB / 414 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.1014, allocations: 8.375 kB / 414 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.1016, allocations: 99 kB / 414.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.1016, allocations: 192 / 414.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1016, allocations: 7.938 kB / 414.1 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1016, allocations: 8 kB / 414.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1017, allocations: 47.91 kB / 414.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006109/0.1024, allocations: 404.8 kB / 414.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.516e-05/0.1025, allocations: 45.28 kB / 414.6 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1025, allocations: 29.7 kB / 414.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/0.103, allocations: 202.2 kB / 414.8 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.1031, allocations: 42.56 kB / 414.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.496e-06/0.1031, allocations: 0 / 414.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002892/0.1034, allocations: 93.53 kB / 415 MB, free: 7.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.1035, allocations: 77.11 kB / 415 MB, free: 7.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1036, allocations: 129.7 kB / 415.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1036, allocations: 29.64 kB / 415.2 MB, free: 7.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1037, allocations: 107.8 kB / 415.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.1038, allocations: 31.55 kB / 415.3 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.1038, allocations: 29.72 kB / 415.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.104, allocations: 322.8 kB / 415.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.104, allocations: 19.98 kB / 415.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1042, allocations: 125.7 kB / 415.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.1044, allocations: 161.5 kB / 416 MB, free: 6.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1044, allocations: 4 kB / 416 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002472/0.1046, allocations: 165.2 kB / 416.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1046, allocations: 4 kB / 416.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1047, allocations: 4 kB / 416.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1047, allocations: 4.5 kB / 416.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/0.1075, allocations: 443.5 kB / 416.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/0.1103, allocations: 4.681 MB / 421.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.1104, allocations: 20.06 kB / 421.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1104, allocations: 12 kB / 421.3 MB, free: 0.875 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.0001149/0.1105, allocations: 133.7 kB / 421.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.1106, allocations: 3.906 kB / 421.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.1108, allocations: 117.8 kB / 421.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1109, allocations: 4 kB / 421.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1109, allocations: 4 kB / 421.6 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1109, allocations: 7.938 kB / 421.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.1111, allocations: 173.7 kB / 421.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1111, allocations: 0 / 421.7 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1571/0.2683, allocations: 416.3 kB / 422.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.2683, allocations: 0 / 422.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.2684, allocations: 8.031 kB / 422.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.2695, allocations: 4.681 MB / 426.8 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2695, allocations: 1.5 kB / 426.8 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.2696, allocations: 254.5 kB / 427.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.2697, allocations: 80.05 kB / 427.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2697, allocations: 1.406 kB / 427.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.2698, allocations: 3.828 kB / 427.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.2698, allocations: 14.09 kB / 427.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2698, allocations: 3.094 kB / 427.2 MB, free: 39.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.254e-05/0.2698, allocations: 98 kB / 427.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2698, allocations: 0 / 427.3 MB, free: 39.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.2702, allocations: 15.22 kB / 427.3 MB, free: 39.01 MB / 350.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.0001066/0.2703, allocations: 114.8 kB / 427.4 MB, free: 38.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003083/0.2734, allocations: 0.5436 MB / 427.9 MB, free: 38.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2734, allocations: 3.5 kB / 427.9 MB, free: 38.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002718/0.2761, allocations: 0.4964 MB / 428.4 MB, free: 38.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.2764, allocations: 6.75 kB / 428.5 MB, free: 38.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.2769, allocations: 250.8 kB / 428.7 MB, free: 38.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.277, allocations: 0.6903 MB / 429.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.277, allocations: 15.08 kB / 429.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-06/0.2771, allocations: 12.84 kB / 429.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2771, allocations: 0 / 429.4 MB, free: 38.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003788/0.2809, allocations: 1.629 MB / 431 MB, free: 37.93 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (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 & ./EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)