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.004701/0.004701, allocations: 95.7 kB / 15.73 MB, free: 6.039 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.001047/0.001047, allocations: 202.8 kB / 16.68 MB, free: 5.969 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1585/0.1585, allocations: 8.016 MB / 298.6 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.89 kB / 413.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 51.19 MB / 464.2 MB, free: 18.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001257/0.2278, allocations: 494.8 kB / 464.7 MB, free: 17.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.228, allocations: 95.75 kB / 464.8 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.2281, allocations: 4 kB / 464.8 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.127e-05/0.2281, allocations: 1.828 kB / 464.8 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.488e-05/0.2281, allocations: 1.875 kB / 464.8 MB, free: 17.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.2283, allocations: 22.62 kB / 464.9 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.445e-05/0.2284, allocations: 38.86 kB / 464.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.2285, allocations: 3.531 kB / 464.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.2285, allocations: 21.39 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.719e-05/0.2286, allocations: 13.56 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2286, allocations: 0.875 kB / 464.9 MB, free: 17.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.2287, allocations: 32.64 kB / 465 MB, free: 17.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.202e-05/0.2287, allocations: 18.64 kB / 465 MB, free: 17.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.164e-05/0.2288, allocations: 22.2 kB / 465 MB, free: 17.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2289, allocations: 59.53 kB / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2289, allocations: 1.25 kB / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2289, allocations: 0 / 465.1 MB, free: 17.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.2289, allocations: 0 / 465.1 MB, free: 17.82 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.0002407/0.2291, allocations: 353.9 kB / 465.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.2292, allocations: 8.75 kB / 465.4 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.2292, allocations: 11.77 kB / 465.4 MB, free: 17.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.703e-05/0.2293, allocations: 166.9 kB / 465.6 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2293, allocations: 5.438 kB / 465.6 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2293, allocations: 3.344 kB / 465.6 MB, free: 17.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.2295, allocations: 95.39 kB / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2295, allocations: 192 / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2295, allocations: 5.188 kB / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.2296, allocations: 8.172 kB / 465.7 MB, free: 17.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.2297, allocations: 52.66 kB / 465.8 MB, free: 17.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/0.23, allocations: 401.1 kB / 466.1 MB, free: 16.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.2301, allocations: 51.75 kB / 466.2 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.761e-05/0.2301, allocations: 22.75 kB / 466.2 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002955/0.2304, allocations: 206.4 kB / 466.4 MB, free: 16.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2304, allocations: 32.97 kB / 466.5 MB, free: 16.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.2304, allocations: 0 / 466.5 MB, free: 16.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002239/0.2307, allocations: 93.22 kB / 466.5 MB, free: 16.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.2307, allocations: 84.08 kB / 466.6 MB, free: 16.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.976e-05/0.2308, allocations: 117 kB / 466.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2308, allocations: 26.89 kB / 466.8 MB, free: 16.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.2308, allocations: 109.2 kB / 466.9 MB, free: 16.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.2308, allocations: 33.81 kB / 466.9 MB, free: 16.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.2309, allocations: 34.02 kB / 466.9 MB, free: 16.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.2309, allocations: 323.3 kB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.852e-05/0.231, allocations: 19.3 kB / 467.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.561e-05/0.231, allocations: 136.6 kB / 467.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2312, allocations: 165.5 kB / 467.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2312, allocations: 1.219 kB / 467.6 MB, free: 15.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001964/0.2314, allocations: 160.8 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2314, allocations: 7.312 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2314, allocations: 4.5 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.2314, allocations: 5.5 kB / 467.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.2338, allocations: 445 kB / 468.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2349, allocations: 4.68 MB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.65e-05/0.2349, allocations: 25.77 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.235, allocations: 13.31 kB / 472.9 MB, free: 10.53 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 5.999e-05/0.235, allocations: 131.2 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.2351, allocations: 4.141 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.2353, allocations: 128.1 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2353, allocations: 1.594 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2353, allocations: 1.406 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2353, allocations: 4.875 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.2355, allocations: 173 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2355, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/0.2377, allocations: 422.6 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2377, allocations: 5.625 kB / 473.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2377, allocations: 2.594 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.2387, allocations: 4.677 MB / 478.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2388, allocations: 0 / 478.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.2389, allocations: 257.2 kB / 478.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.2389, allocations: 85.36 kB / 478.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.2389, allocations: 1.656 kB / 478.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.239, allocations: 4 kB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.239, allocations: 10.55 kB / 478.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.239, allocations: 4.656 kB / 478.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.013e-05/0.2391, allocations: 90.67 kB / 478.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2391, allocations: 1.469 kB / 478.9 MB, free: 4.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002977/0.2394, allocations: 22.53 kB / 478.9 MB, free: 4.941 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.000106/0.2395, allocations: 115.9 kB / 479 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002819/0.2423, allocations: 0.5486 MB / 479.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2423, allocations: 0 / 479.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.245, allocations: 0.4982 MB / 480.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.2453, allocations: 12.34 kB / 480.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.2457, allocations: 230 kB / 480.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2458, allocations: 0.6928 MB / 481 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.2459, allocations: 16.19 kB / 481 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.034e-05/0.2459, allocations: 10.19 kB / 481 MB, free: 3.863 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2459, allocations: 0 / 481 MB, free: 3.863 MB / 350.1 MB Notification: Performance of Templates: time 0.003873/0.2498, allocations: 1.774 MB / 482.8 MB, free: 3.703 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)