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.001045/0.001045, allocations: 105.9 kB / 16.37 MB, free: 6.453 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.00099/0.00099, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.277/1.277, 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.0404/0.0404, allocations: 8.038 MB / 299.2 MB, free: 6.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.91 kB / 362.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 51.19 MB / 413.3 MB, free: 26.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001625/0.2321, allocations: 486 kB / 413.7 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002467/0.2323, allocations: 95.62 kB / 413.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.2324, allocations: 0 / 413.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.671e-05/0.2324, allocations: 0 / 413.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.88e-05/0.2325, allocations: 7.938 kB / 413.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.2327, allocations: 19.92 kB / 413.9 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.2328, allocations: 35.97 kB / 413.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.2328, allocations: 3.984 kB / 413.9 MB, free: 25.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.205e-05/0.2329, allocations: 19.92 kB / 413.9 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.2329, allocations: 23.98 kB / 413.9 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.2329, allocations: 0 / 413.9 MB, free: 25.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.233, allocations: 27.97 kB / 414 MB, free: 25.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.2331, allocations: 19.94 kB / 414 MB, free: 25.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.377e-05/0.2331, allocations: 19.91 kB / 414 MB, free: 25.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2332, allocations: 55.81 kB / 414.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2332, allocations: 0 / 414.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2332, allocations: 3.938 kB / 414.1 MB, free: 25.22 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2332, allocations: 0 / 414.1 MB, free: 25.22 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.0002742/0.2335, allocations: 353.3 kB / 414.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2335, allocations: 16.03 kB / 414.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.2336, allocations: 0.9375 kB / 414.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.938e-05/0.2337, allocations: 172.1 kB / 414.6 MB, free: 24.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2337, allocations: 384 / 414.6 MB, free: 24.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.2337, allocations: 4.375 kB / 414.6 MB, free: 24.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2339, allocations: 97.61 kB / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2339, allocations: 192 / 414.7 MB, free: 24.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2339, allocations: 7.922 kB / 414.7 MB, free: 24.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.2339, allocations: 15.94 kB / 414.7 MB, free: 24.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.307e-05/0.234, allocations: 47.95 kB / 414.8 MB, free: 24.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.2343, allocations: 400.8 kB / 415.2 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.547e-05/0.2344, allocations: 45.28 kB / 415.2 MB, free: 23.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.2344, allocations: 32.88 kB / 415.2 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.2347, allocations: 202.3 kB / 415.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2348, allocations: 38.56 kB / 415.5 MB, free: 23.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.2348, allocations: 0 / 415.5 MB, free: 23.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000216/0.235, allocations: 93.59 kB / 415.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.235, allocations: 77.11 kB / 415.6 MB, free: 23.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/0.2351, allocations: 121.7 kB / 415.8 MB, free: 23.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.2351, allocations: 29.7 kB / 415.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.2352, allocations: 103.8 kB / 415.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2352, allocations: 35.48 kB / 415.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.2352, allocations: 29.72 kB / 416 MB, free: 23.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.2353, allocations: 330.8 kB / 416.3 MB, free: 22.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.2353, allocations: 19.98 kB / 416.3 MB, free: 22.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.2354, allocations: 125.7 kB / 416.4 MB, free: 22.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.2355, allocations: 169.5 kB / 416.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2355, allocations: 4 kB / 416.6 MB, free: 22.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001797/0.2357, allocations: 157.7 kB / 416.7 MB, free: 22.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2357, allocations: 4.625 kB / 416.7 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2357, allocations: 4 kB / 416.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2357, allocations: 4 kB / 416.8 MB, free: 22.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.238, allocations: 443.6 kB / 417.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.2392, allocations: 4.681 MB / 421.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.2393, allocations: 23.77 kB / 421.9 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2393, allocations: 8 kB / 421.9 MB, free: 16.82 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 6.988e-05/0.2394, allocations: 125.8 kB / 422 MB, free: 16.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.2394, allocations: 11.83 kB / 422 MB, free: 16.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2396, allocations: 125.9 kB / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2397, allocations: 0 / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2397, allocations: 0 / 422.2 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2397, allocations: 7.938 kB / 422.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2398, allocations: 173.6 kB / 422.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2398, allocations: 0 / 422.3 MB, free: 16.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/0.242, allocations: 419.6 kB / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.242, allocations: 0 / 422.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.242, allocations: 8 kB / 422.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.2432, allocations: 4.688 MB / 427.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2432, allocations: 480 / 427.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.2433, allocations: 246.7 kB / 427.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.446e-05/0.2433, allocations: 93.02 kB / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.2433, allocations: 0 / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.235e-05/0.2434, allocations: 4 kB / 427.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.825e-05/0.2434, allocations: 7.938 kB / 427.8 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2435, allocations: 8.062 kB / 427.8 MB, free: 10.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.264e-05/0.2435, allocations: 95.27 kB / 427.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2435, allocations: 3.938 kB / 427.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.2438, allocations: 23.98 kB / 427.9 MB, free: 10.52 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.000115/0.2439, allocations: 111.6 kB / 428 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.2466, allocations: 0.5511 MB / 428.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2466, allocations: 0 / 428.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.2491, allocations: 0.4917 MB / 429.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2494, allocations: 6.5 kB / 429.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.2498, allocations: 233.6 kB / 429.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.25, allocations: 0.6889 MB / 430 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.25, allocations: 16.41 kB / 430 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.25, allocations: 11.44 kB / 430 MB, free: 8.355 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.25, allocations: 3.938 kB / 430 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Templates: time 0.003316/0.2533, allocations: 1.729 MB / 431.7 MB, free: 6.621 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 cvode -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)