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.001064/0.001064, allocations: 92.78 kB / 16.02 MB, free: 80 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.0008864/0.0008863, allocations: 180.1 kB / 16.92 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1841/0.1841, allocations: 8.019 MB / 300.1 MB, free: 3.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 8 kB / 363.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09904, allocations: 52.18 MB / 415.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0006212/0.0997, allocations: 208.7 kB / 415.4 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003358/0.1001, allocations: 95.64 kB / 415.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.032e-05/0.1001, allocations: 0 / 415.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.103e-05/0.1002, allocations: 0 / 415.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.1002, allocations: 8 kB / 415.5 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1004, allocations: 19.92 kB / 415.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.982e-05/0.1005, allocations: 39.95 kB / 415.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1006, allocations: 0 / 415.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.1006, allocations: 15.94 kB / 415.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.1007, allocations: 19.98 kB / 415.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1007, allocations: 0 / 415.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1008, allocations: 27.97 kB / 415.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.1009, allocations: 23.91 kB / 415.7 MB, free: 9.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1009, allocations: 41.64 kB / 415.7 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.49e-05/0.101, allocations: 39.88 kB / 415.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.101, allocations: 7.938 kB / 415.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.101, allocations: 0 / 415.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1011, allocations: 0 / 415.8 MB, free: 9.102 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.0003185/0.1014, allocations: 343.7 kB / 416.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1014, allocations: 8.031 kB / 416.1 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.1015, allocations: 8.844 kB / 416.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.1016, allocations: 172.4 kB / 416.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1016, allocations: 384 / 416.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1016, allocations: 4.375 kB / 416.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1018, allocations: 102.3 kB / 416.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1018, allocations: 192 / 416.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1018, allocations: 3.938 kB / 416.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.1019, allocations: 11.98 kB / 416.4 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.102, allocations: 43.97 kB / 416.5 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.1024, allocations: 408.7 kB / 416.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.1025, allocations: 45.14 kB / 416.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.65e-05/0.1026, allocations: 29.89 kB / 416.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.103, allocations: 210.1 kB / 417.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.103, allocations: 34.55 kB / 417.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.1031, allocations: 0 / 417.2 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002621/0.1033, allocations: 89.59 kB / 417.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1034, allocations: 81.11 kB / 417.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.726e-05/0.1035, allocations: 117.9 kB / 417.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1035, allocations: 29.7 kB / 417.5 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.1036, allocations: 111.8 kB / 417.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.1036, allocations: 27.56 kB / 417.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.1036, allocations: 21.7 kB / 417.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1037, allocations: 322.8 kB / 418 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.1038, allocations: 19.97 kB / 418 MB, free: 6.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1039, allocations: 121.7 kB / 418.1 MB, free: 6.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1041, allocations: 173.5 kB / 418.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1041, allocations: 0 / 418.3 MB, free: 6.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002454/0.1044, allocations: 157.3 kB / 418.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1044, allocations: 4 kB / 418.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1044, allocations: 7.938 kB / 418.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1044, allocations: 8 kB / 418.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/0.107, allocations: 408.1 kB / 418.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/0.1094, allocations: 4.688 MB / 423.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.1095, allocations: 23.84 kB / 423.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1095, allocations: 8 kB / 423.6 MB, free: 0.75 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.0001141/0.1097, allocations: 133.7 kB / 423.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.1097, allocations: 3.906 kB / 423.7 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.11, allocations: 121.8 kB / 423.8 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.11, allocations: 3.938 kB / 423.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.11, allocations: 0 / 423.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1101, allocations: 7.938 kB / 423.8 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.1103, allocations: 173.6 kB / 424 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1103, allocations: 0 / 424 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1878/0.2981, allocations: 390 kB / 424.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.2982, allocations: 0 / 424.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2982, allocations: 3.75 kB / 424.4 MB, free: 42.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.2993, allocations: 4.679 MB / 429 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2993, allocations: 0 / 429 MB, free: 37.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.2995, allocations: 247.7 kB / 429.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.2995, allocations: 86.11 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2995, allocations: 4.922 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.2996, allocations: 2.562 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.2996, allocations: 7.188 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2997, allocations: 3.312 kB / 429.4 MB, free: 37.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.2997, allocations: 90.52 kB / 429.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.2997, allocations: 0 / 429.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.3001, allocations: 20.67 kB / 429.5 MB, free: 37.31 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.0001203/0.3002, allocations: 113 kB / 429.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002765/0.303, allocations: 0.5047 MB / 430.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.303, allocations: 0 / 430.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.3055, allocations: 469.6 kB / 430.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3058, allocations: 8.078 kB / 430.6 MB, free: 37.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.3063, allocations: 275 kB / 430.9 MB, free: 37.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.3064, allocations: 0.693 MB / 431.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.3065, allocations: 10.41 kB / 431.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3065, allocations: 0 / 431.6 MB, free: 36.33 MB / 350.1 MB Notification: Performance of Templates: time 0.004633/0.3111, allocations: 3.078 MB / 434.6 MB, free: 36.16 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)