Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2") translateModel(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.00118/0.00118, allocations: 98.23 kB / 16.23 MB, free: 5.918 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.001193/0.001193, allocations: 190.6 kB / 17.17 MB, free: 5.555 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 / 240.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06106/0.06106, allocations: 8.034 MB / 299 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.89 kB / 361.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 51.19 MB / 412.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001744/0.2215, allocations: 483.7 kB / 412.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000258/0.2218, allocations: 91.64 kB / 413 MB, free: 25.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.2219, allocations: 4 kB / 413 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.837e-05/0.2219, allocations: 0 / 413 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.239e-05/0.222, allocations: 3.938 kB / 413 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2222, allocations: 23.91 kB / 413 MB, free: 25.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.2223, allocations: 43.89 kB / 413 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.681e-05/0.2224, allocations: 4 kB / 413 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.427e-05/0.2224, allocations: 12 kB / 413.1 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.498e-05/0.2225, allocations: 15.98 kB / 413.1 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2225, allocations: 7.984 kB / 413.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.2226, allocations: 27.97 kB / 413.1 MB, free: 25.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.393e-05/0.2226, allocations: 19.94 kB / 413.1 MB, free: 25.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2227, allocations: 23.86 kB / 413.2 MB, free: 25.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2228, allocations: 47.88 kB / 413.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2228, allocations: 4 kB / 413.2 MB, free: 25.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2228, allocations: 3.938 kB / 413.2 MB, free: 25.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2228, allocations: 0 / 413.2 MB, free: 25.42 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.000298/0.2231, allocations: 353.4 kB / 413.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2231, allocations: 8.031 kB / 413.6 MB, free: 25.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.2232, allocations: 4.938 kB / 413.6 MB, free: 25.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.922e-05/0.2233, allocations: 172.2 kB / 413.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2233, allocations: 8.375 kB / 413.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.2233, allocations: 4.359 kB / 413.7 MB, free: 24.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.2235, allocations: 95.92 kB / 413.8 MB, free: 24.69 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2235, allocations: 192 / 413.8 MB, free: 24.69 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.2235, allocations: 3.938 kB / 413.8 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-05/0.2235, allocations: 8 kB / 413.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.175e-05/0.2236, allocations: 51.89 kB / 413.9 MB, free: 24.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.224, allocations: 404.8 kB / 414.3 MB, free: 24.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.971e-05/0.224, allocations: 53.17 kB / 414.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.494e-05/0.2241, allocations: 24.88 kB / 414.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.2244, allocations: 206.2 kB / 414.6 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.2245, allocations: 34.56 kB / 414.6 MB, free: 23.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2245, allocations: 0 / 414.6 MB, free: 23.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002408/0.2247, allocations: 93.59 kB / 414.7 MB, free: 23.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.2248, allocations: 85.11 kB / 414.8 MB, free: 23.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.697e-05/0.2248, allocations: 121.7 kB / 414.9 MB, free: 23.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.2249, allocations: 25.7 kB / 414.9 MB, free: 23.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.2249, allocations: 99.86 kB / 415 MB, free: 23.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.2249, allocations: 31.55 kB / 415.1 MB, free: 23.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.225, allocations: 37.7 kB / 415.1 MB, free: 23.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.225, allocations: 318.8 kB / 415.4 MB, free: 22.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.2251, allocations: 27.92 kB / 415.4 MB, free: 22.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.2251, allocations: 121.7 kB / 415.6 MB, free: 22.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2252, allocations: 169.5 kB / 415.7 MB, free: 22.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2253, allocations: 3.938 kB / 415.7 MB, free: 22.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001917/0.2255, allocations: 157.2 kB / 415.9 MB, free: 22.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.2255, allocations: 11.98 kB / 415.9 MB, free: 22.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2255, allocations: 4.5 kB / 415.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.2255, allocations: 4 kB / 415.9 MB, free: 22.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/0.228, allocations: 447.6 kB / 416.3 MB, free: 21.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.2292, allocations: 4.677 MB / 421 MB, free: 17.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.591e-05/0.2293, allocations: 23.84 kB / 421 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.2293, allocations: 12 kB / 421 MB, free: 17.01 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.36e-05/0.2294, allocations: 125.8 kB / 421.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2295, allocations: 11.84 kB / 421.2 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.2297, allocations: 122.2 kB / 421.3 MB, free: 16.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.2297, allocations: 4 kB / 421.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2297, allocations: 0 / 421.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.2297, allocations: 3.938 kB / 421.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.2299, allocations: 169.7 kB / 421.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2299, allocations: 48 / 421.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002275/0.2321, allocations: 419.6 kB / 421.9 MB, free: 16.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.2322, allocations: 8 kB / 421.9 MB, free: 16.1 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2322, allocations: 3.984 kB / 421.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.2334, allocations: 4.684 MB / 426.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2334, allocations: 0 / 426.6 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.2336, allocations: 262.9 kB / 426.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.2336, allocations: 81.05 kB / 426.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2336, allocations: 4 kB / 426.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.2337, allocations: 4 kB / 426.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.2338, allocations: 11.92 kB / 426.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.2338, allocations: 4 kB / 426.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.539e-05/0.2338, allocations: 91.27 kB / 427 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2338, allocations: 0 / 427 MB, free: 10.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.2342, allocations: 28 kB / 427.1 MB, free: 10.71 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.0001422/0.2343, allocations: 107.7 kB / 427.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002866/0.2372, allocations: 0.5472 MB / 427.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.2372, allocations: 0 / 427.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.2398, allocations: 0.4956 MB / 428.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.2401, allocations: 4.781 kB / 428.2 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.2406, allocations: 255.1 kB / 428.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.2408, allocations: 0.6927 MB / 429.1 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.2408, allocations: 11.44 kB / 429.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2408, allocations: 0 / 429.2 MB, free: 8.535 MB / 302.1 MB Notification: Performance of Templates: time 0.004672/0.2455, allocations: 3.089 MB / 432.2 MB, free: 5.438 MB / 302.1 MB make -j1 -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.makefile (rm -f EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; mkfifo EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe >> ../files/EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.sim & ./EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)