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.001394/0.001394, allocations: 100.1 kB / 15.88 MB, free: 12 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.001469/0.001469, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.527/1.527, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.151/0.151, allocations: 8.018 MB / 298.6 MB, free: 2.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 55.91 kB / 360.6 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1032, allocations: 51.19 MB / 411.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001678/0.1049, allocations: 0.5427 MB / 412.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003/0.1052, allocations: 99.62 kB / 412.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1053, allocations: 4 kB / 412.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.1053, allocations: 4 kB / 412.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.608e-05/0.1054, allocations: 0 / 412.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1055, allocations: 15.98 kB / 412.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1057, allocations: 35.97 kB / 412.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.1057, allocations: 3.938 kB / 412.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.1057, allocations: 11.98 kB / 412.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.722e-05/0.1058, allocations: 23.92 kB / 412.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1058, allocations: 0 / 412.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.699e-05/0.1059, allocations: 35.97 kB / 412.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.1059, allocations: 23.86 kB / 412.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.106, allocations: 15.92 kB / 412.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.138e-05/0.1061, allocations: 43.88 kB / 412.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1061, allocations: 4 kB / 412.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1061, allocations: 0 / 412.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.1061, allocations: 0 / 412.6 MB, free: 10.72 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.0003516/0.1065, allocations: 351.7 kB / 413 MB, free: 10.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1065, allocations: 8.031 kB / 413 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/0.1066, allocations: 12.84 kB / 413 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1067, allocations: 160.4 kB / 413.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.1067, allocations: 4.375 kB / 413.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1067, allocations: 8.359 kB / 413.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1069, allocations: 99.86 kB / 413.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1069, allocations: 192 / 413.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1069, allocations: 3.938 kB / 413.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.107, allocations: 8 kB / 413.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.726e-05/0.1071, allocations: 47.91 kB / 413.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.1075, allocations: 408.8 kB / 413.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.997e-05/0.1076, allocations: 49.34 kB / 413.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.1076, allocations: 25.64 kB / 413.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003939/0.108, allocations: 206.2 kB / 414 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1081, allocations: 30.56 kB / 414 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1081, allocations: 0 / 414 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002495/0.1083, allocations: 89.59 kB / 414.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1084, allocations: 81.11 kB / 414.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.1085, allocations: 121.8 kB / 414.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1085, allocations: 25.7 kB / 414.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.1086, allocations: 111.9 kB / 414.5 MB, free: 8.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.1086, allocations: 31.55 kB / 414.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.1087, allocations: 33.72 kB / 414.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1088, allocations: 322.8 kB / 414.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.1088, allocations: 19.98 kB / 414.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.109, allocations: 121.7 kB / 415 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.1092, allocations: 165.5 kB / 415.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1092, allocations: 0 / 415.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002345/0.1094, allocations: 169.1 kB / 415.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1094, allocations: 9.406 kB / 415.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.1094, allocations: 4 kB / 415.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1095, allocations: 4.5 kB / 415.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/0.1122, allocations: 439.6 kB / 415.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.1144, allocations: 4.688 MB / 420.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.1145, allocations: 20.06 kB / 420.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1145, allocations: 16 kB / 420.5 MB, free: 2.32 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.0001081/0.1146, allocations: 136.5 kB / 420.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.1146, allocations: 7.906 kB / 420.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.1149, allocations: 117.8 kB / 420.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1149, allocations: 8 kB / 420.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1149, allocations: 0 / 420.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1149, allocations: 4.406 kB / 420.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1152, allocations: 165.7 kB / 420.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1152, allocations: 0 / 420.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/0.1177, allocations: 423.6 kB / 421.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1177, allocations: 4 kB / 421.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1177, allocations: 4 kB / 421.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.1199, allocations: 4.684 MB / 426 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1199, allocations: 0 / 426 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.1201, allocations: 266.9 kB / 426.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.1202, allocations: 77.11 kB / 426.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1202, allocations: 4 kB / 426.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.1203, allocations: 0 / 426.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.1203, allocations: 11.92 kB / 426.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1203, allocations: 8 kB / 426.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1204, allocations: 91.33 kB / 426.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1204, allocations: 0 / 426.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1207, allocations: 16 kB / 426.5 MB, free: 12.03 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.0001417/0.1209, allocations: 111.2 kB / 426.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.1241, allocations: 0.5509 MB / 427.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1241, allocations: 0 / 427.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/0.1269, allocations: 0.4957 MB / 427.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.1272, allocations: 3.984 kB / 427.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005587/0.1278, allocations: 271.8 kB / 427.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.1281, allocations: 0.6927 MB / 428.6 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.1281, allocations: 11.44 kB / 428.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1281, allocations: 0 / 428.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of Templates: time 0.005523/0.1336, allocations: 3.082 MB / 431.7 MB, free: 6.738 MB / 366.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)