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.00185/0.00185, allocations: 100.9 kB / 16.27 MB, free: 6.414 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.002039/0.002039, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04381/0.04381, allocations: 8.579 MB / 299.6 MB, free: 6.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 67.89 kB / 362 MB, free: 7.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2287, allocations: 51.38 MB / 413.4 MB, free: 25.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001685/0.2304, allocations: 497.7 kB / 413.9 MB, free: 24.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002562/0.2307, allocations: 87.64 kB / 414 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.2307, allocations: 0 / 414 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.2308, allocations: 0 / 414 MB, free: 24.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.2308, allocations: 4 kB / 414 MB, free: 24.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.2311, allocations: 27.91 kB / 414 MB, free: 24.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.227e-05/0.2312, allocations: 43.89 kB / 414 MB, free: 24.72 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.2312, allocations: 0 / 414 MB, free: 24.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.2313, allocations: 19.94 kB / 414.1 MB, free: 24.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.2313, allocations: 15.97 kB / 414.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2313, allocations: 0 / 414.1 MB, free: 24.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2314, allocations: 35.97 kB / 414.1 MB, free: 24.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.2315, allocations: 19.92 kB / 414.1 MB, free: 24.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.2315, allocations: 11.94 kB / 414.1 MB, free: 24.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.2316, allocations: 55.81 kB / 414.2 MB, free: 24.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2316, allocations: 4 kB / 414.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2316, allocations: 0 / 414.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.2317, allocations: 0 / 414.2 MB, free: 24.56 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.0003115/0.232, allocations: 353.4 kB / 414.5 MB, free: 24.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.232, allocations: 15.89 kB / 414.6 MB, free: 24.15 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.2321, allocations: 0.9375 kB / 414.6 MB, free: 24.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.018e-05/0.2321, allocations: 168.3 kB / 414.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.2322, allocations: 384 / 414.7 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2322, allocations: 12.3 kB / 414.7 MB, free: 23.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.2324, allocations: 101.3 kB / 414.8 MB, free: 23.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2324, allocations: 4.125 kB / 414.8 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.2324, allocations: 3.938 kB / 414.8 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.2324, allocations: 11.98 kB / 414.9 MB, free: 23.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.628e-05/0.2325, allocations: 47.91 kB / 414.9 MB, free: 23.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.2329, allocations: 400.8 kB / 415.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.2329, allocations: 53.17 kB / 415.3 MB, free: 23.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.233, allocations: 32.95 kB / 415.4 MB, free: 23.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.2333, allocations: 198.2 kB / 415.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.2333, allocations: 38.56 kB / 415.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2334, allocations: 0 / 415.6 MB, free: 22.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002621/0.2336, allocations: 89.59 kB / 415.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2337, allocations: 81.05 kB / 415.8 MB, free: 22.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.359e-05/0.2337, allocations: 129.7 kB / 415.9 MB, free: 22.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2338, allocations: 29.7 kB / 415.9 MB, free: 22.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.2338, allocations: 99.86 kB / 416 MB, free: 22.47 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.2338, allocations: 31.62 kB / 416.1 MB, free: 22.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2339, allocations: 33.7 kB / 416.1 MB, free: 22.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/0.2339, allocations: 322.8 kB / 416.4 MB, free: 22.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.678e-05/0.234, allocations: 23.97 kB / 416.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.234, allocations: 125.6 kB / 416.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.2342, allocations: 173.5 kB / 416.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2342, allocations: 0 / 416.7 MB, free: 21.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001847/0.2344, allocations: 161.2 kB / 416.9 MB, free: 21.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2344, allocations: 5.406 kB / 416.9 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.2344, allocations: 4 kB / 416.9 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2344, allocations: 4 kB / 416.9 MB, free: 21.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00235/0.2368, allocations: 448.1 kB / 417.3 MB, free: 21.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.238, allocations: 4.681 MB / 422 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.567e-05/0.2381, allocations: 15.78 kB / 422 MB, free: 16.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.2381, allocations: 12 kB / 422 MB, free: 16.15 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.69e-05/0.2382, allocations: 134.6 kB / 422.2 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.2382, allocations: 3.906 kB / 422.2 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.2384, allocations: 121.8 kB / 422.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2385, allocations: 0 / 422.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2385, allocations: 0 / 422.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2385, allocations: 11.94 kB / 422.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.2387, allocations: 169.7 kB / 422.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2387, allocations: 0 / 422.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/0.2408, allocations: 419.6 kB / 422.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2408, allocations: 0 / 422.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2409, allocations: 4 kB / 422.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.242, allocations: 4.681 MB / 427.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2421, allocations: 3.938 kB / 427.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.2422, allocations: 258.6 kB / 427.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.2422, allocations: 85.23 kB / 427.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.2422, allocations: 4 kB / 427.9 MB, free: 9.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.2423, allocations: 4 kB / 427.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.2423, allocations: 19.86 kB / 427.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2424, allocations: 0 / 427.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.2424, allocations: 95.27 kB / 428 MB, free: 9.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2424, allocations: 0 / 428 MB, free: 9.875 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.2427, allocations: 16 kB / 428 MB, free: 9.859 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.0001253/0.2428, allocations: 121.3 kB / 428.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002752/0.2456, allocations: 0.5471 MB / 428.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2456, allocations: 0 / 428.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/0.2482, allocations: 0.4917 MB / 429.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.2485, allocations: 8.188 kB / 429.2 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.249, allocations: 251.8 kB / 429.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2491, allocations: 0.6966 MB / 430.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.424e-05/0.2492, allocations: 15.44 kB / 430.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2492, allocations: 0 / 430.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of Templates: time 0.005079/0.2542, allocations: 3.089 MB / 433.3 MB, free: 4.57 MB / 302.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)