Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001115/0.001115, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007693/0.007694, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1528/0.1528, allocations: 8.927 MB / 300.4 MB, free: 3.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002905, allocations: 4 kB / 363.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1035, allocations: 52.47 MB / 416 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.0007143/0.1043, allocations: 211 kB / 416.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003677/0.1046, allocations: 101.3 kB / 416.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.1047, allocations: 0 / 416.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.724e-05/0.1047, allocations: 0 / 416.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.1048, allocations: 4 kB / 416.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.105, allocations: 15.98 kB / 416.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.1051, allocations: 43.89 kB / 416.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1052, allocations: 3.938 kB / 416.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.779e-05/0.1052, allocations: 12 kB / 416.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.1052, allocations: 19.98 kB / 416.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.1053, allocations: 0 / 416.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1054, allocations: 27.97 kB / 416.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.428e-05/0.1054, allocations: 27.91 kB / 416.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.1055, allocations: 41.64 kB / 416.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.1056, allocations: 59.8 kB / 416.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1056, allocations: 0 / 416.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1056, allocations: 0 / 416.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1057, allocations: 0 / 416.6 MB, free: 7.66 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.0003812/0.106, allocations: 343.7 kB / 416.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1061, allocations: 8.031 kB / 416.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1061, allocations: 8.844 kB / 416.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1063, allocations: 168.4 kB / 417.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1063, allocations: 4.375 kB / 417.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.1063, allocations: 8.359 kB / 417.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1065, allocations: 95.86 kB / 417.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1065, allocations: 4.188 kB / 417.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1066, allocations: 3.938 kB / 417.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.1066, allocations: 7.984 kB / 417.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.871e-05/0.1067, allocations: 51.89 kB / 417.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.1072, allocations: 400.8 kB / 417.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.1073, allocations: 49.17 kB / 417.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.1074, allocations: 29.8 kB / 417.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004288/0.1078, allocations: 202.3 kB / 418 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1078, allocations: 34.56 kB / 418 MB, free: 6.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 3.175e-06/0.1078, allocations: 0 / 418 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002715/0.1081, allocations: 93.53 kB / 418.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.1082, allocations: 81.11 kB / 418.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.1083, allocations: 129.7 kB / 418.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.1083, allocations: 25.7 kB / 418.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.1084, allocations: 103.8 kB / 418.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1084, allocations: 31.55 kB / 418.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.1085, allocations: 21.7 kB / 418.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1086, allocations: 322.8 kB / 418.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.371e-05/0.1087, allocations: 19.98 kB / 418.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1088, allocations: 121.7 kB / 418.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.109, allocations: 165.5 kB / 419.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.109, allocations: 0 / 419.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002379/0.1093, allocations: 161.3 kB / 419.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1093, allocations: 8 kB / 419.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1093, allocations: 8.484 kB / 419.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1093, allocations: 8 kB / 419.3 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0025/0.1118, allocations: 399.6 kB / 419.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1899/0.3018, allocations: 4.683 MB / 424.3 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3019, allocations: 19.02 kB / 424.3 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.302, allocations: 12.09 kB / 424.4 MB, free: 40.25 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.0001131/0.3021, allocations: 130.7 kB / 424.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.3022, allocations: 4.625 kB / 424.5 MB, free: 40.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.3025, allocations: 123.4 kB / 424.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3025, allocations: 1.5 kB / 424.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3025, allocations: 3.719 kB / 424.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3025, allocations: 1.734 kB / 424.6 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.3027, allocations: 170.2 kB / 424.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3027, allocations: 0.5 kB / 424.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002346/0.3051, allocations: 394.6 kB / 425.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.3051, allocations: 4.562 kB / 425.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3051, allocations: 5.562 kB / 425.2 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.3063, allocations: 4.677 MB / 429.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3064, allocations: 0 / 429.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.3065, allocations: 258.5 kB / 430.1 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.3065, allocations: 87.11 kB / 430.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3066, allocations: 5.406 kB / 430.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.3066, allocations: 3.188 kB / 430.2 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.112e-05/0.3067, allocations: 10.12 kB / 430.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3067, allocations: 7.391 kB / 430.2 MB, free: 34.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.3067, allocations: 91.78 kB / 430.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3067, allocations: 0 / 430.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.3071, allocations: 20.38 kB / 430.3 MB, free: 34.86 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.0001316/0.3072, allocations: 114.9 kB / 430.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.3102, allocations: 0.5027 MB / 430.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3102, allocations: 4.062 kB / 431 MB, free: 34.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002704/0.3129, allocations: 473.5 kB / 431.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3132, allocations: 5.859 kB / 431.4 MB, free: 34.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.3137, allocations: 243.1 kB / 431.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3138, allocations: 0.6959 MB / 432.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.862e-05/0.3139, allocations: 12.83 kB / 432.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.3139, allocations: 13.22 kB / 432.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3139, allocations: 0.5625 kB / 432.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of Templates: time 0.004158/0.3181, allocations: 1.598 MB / 434 MB, free: 33.75 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)