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.001086/0.001086, allocations: 115.2 kB / 16.37 MB, free: 6 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.00112/0.00112, allocations: 193.3 kB / 17.31 MB, free: 5.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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03803/0.03803, allocations: 8.031 MB / 299.2 MB, free: 6.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 362.1 MB, free: 7.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2494, allocations: 51.2 MB / 413.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001593/0.2511, allocations: 479.2 kB / 413.7 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.2513, allocations: 91.64 kB / 413.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.2514, allocations: 0 / 413.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.601e-05/0.2514, allocations: 3.938 kB / 413.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.1e-05/0.2515, allocations: 8 kB / 413.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.2517, allocations: 23.91 kB / 413.9 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.612e-05/0.2518, allocations: 39.91 kB / 413.9 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.2519, allocations: 0 / 413.9 MB, free: 25.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.2519, allocations: 15.98 kB / 413.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.548e-05/0.252, allocations: 19.98 kB / 413.9 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.252, allocations: 0 / 413.9 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.2521, allocations: 31.97 kB / 414 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.2522, allocations: 19.92 kB / 414 MB, free: 25.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.2522, allocations: 19.86 kB / 414 MB, free: 25.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.908e-05/0.2523, allocations: 51.88 kB / 414.1 MB, free: 25.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2523, allocations: 4 kB / 414.1 MB, free: 25.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2523, allocations: 0 / 414.1 MB, free: 25.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2523, allocations: 0 / 414.1 MB, free: 25.25 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.0002806/0.2526, allocations: 357.2 kB / 414.4 MB, free: 24.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.2527, allocations: 12.03 kB / 414.4 MB, free: 24.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.2527, allocations: 4.875 kB / 414.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.5e-05/0.2528, allocations: 168.2 kB / 414.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2528, allocations: 384 / 414.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.2528, allocations: 4.375 kB / 414.6 MB, free: 24.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.2529, allocations: 103.9 kB / 414.7 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.253, allocations: 192 / 414.7 MB, free: 24.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.253, allocations: 3.938 kB / 414.7 MB, free: 24.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.253, allocations: 15.97 kB / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.2531, allocations: 47.95 kB / 414.8 MB, free: 24.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.2534, allocations: 408.7 kB / 415.2 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.2535, allocations: 49.08 kB / 415.2 MB, free: 23.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.2536, allocations: 33.06 kB / 415.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003118/0.2539, allocations: 198.3 kB / 415.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2539, allocations: 38.5 kB / 415.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2539, allocations: 0 / 415.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002238/0.2541, allocations: 93.92 kB / 415.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.2542, allocations: 77.11 kB / 415.6 MB, free: 23.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.2542, allocations: 125.7 kB / 415.8 MB, free: 23.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.2543, allocations: 33.7 kB / 415.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.2543, allocations: 99.84 kB / 415.9 MB, free: 23.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.2543, allocations: 27.56 kB / 415.9 MB, free: 23.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.2544, allocations: 33.7 kB / 416 MB, free: 23.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.2544, allocations: 322.8 kB / 416.3 MB, free: 22.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.2545, allocations: 23.97 kB / 416.3 MB, free: 22.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.447e-05/0.2545, allocations: 122.7 kB / 416.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.2547, allocations: 177.5 kB / 416.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2547, allocations: 0 / 416.6 MB, free: 22.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001795/0.2549, allocations: 157.2 kB / 416.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2549, allocations: 4 kB / 416.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.2549, allocations: 4.047 kB / 416.8 MB, free: 22.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2549, allocations: 7.984 kB / 416.8 MB, free: 22.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.2573, allocations: 448 kB / 417.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2586, allocations: 4.681 MB / 421.9 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/0.2587, allocations: 19.78 kB / 421.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.2587, allocations: 8 kB / 421.9 MB, free: 16.84 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 7.322e-05/0.2588, allocations: 130.1 kB / 422 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.2588, allocations: 3.906 kB / 422 MB, free: 16.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.259, allocations: 121.8 kB / 422.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.259, allocations: 0 / 422.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.259, allocations: 4 kB / 422.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2591, allocations: 11.88 kB / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2592, allocations: 173.6 kB / 422.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2592, allocations: 0 / 422.3 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.2615, allocations: 423.5 kB / 422.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2615, allocations: 0 / 422.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2615, allocations: 4 kB / 422.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.2626, allocations: 4.688 MB / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2626, allocations: 0 / 427.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.2628, allocations: 246.9 kB / 427.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.2628, allocations: 89.05 kB / 427.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.2628, allocations: 0 / 427.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.2629, allocations: 7.938 kB / 427.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.2629, allocations: 15.92 kB / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2629, allocations: 4 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.955e-05/0.263, allocations: 95.27 kB / 427.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.263, allocations: 0 / 427.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003183/0.2633, allocations: 20 kB / 427.9 MB, free: 10.54 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.0001338/0.2635, allocations: 115.7 kB / 428 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.2663, allocations: 0.5471 MB / 428.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2663, allocations: 0 / 428.6 MB, free: 9.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002606/0.2689, allocations: 0.4918 MB / 429.1 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.2692, allocations: 8 kB / 429.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.2698, allocations: 230.3 kB / 429.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2699, allocations: 0.6927 MB / 430 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.2699, allocations: 24.39 kB / 430 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.27, allocations: 11.44 kB / 430 MB, free: 8.359 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.27, allocations: 0 / 430 MB, free: 8.359 MB / 302.1 MB Notification: Performance of Templates: time 0.003731/0.2737, allocations: 1.728 MB / 431.8 MB, free: 6.633 MB / 302.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 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)