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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.001547/0.001547, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001656/0.001656, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.452/1.452, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04707/0.04707, allocations: 8.031 MB / 298.8 MB, free: 6.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.89 kB / 360.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1905, allocations: 51.2 MB / 412 MB, free: 26.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.SupportModels.MapBasedRelated.EffiPlot2): time 0.001396/0.192, allocations: 0.529 MB / 412.5 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002133/0.1922, allocations: 94.83 kB / 412.6 MB, free: 25.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.691e-05/0.1922, allocations: 4 kB / 412.6 MB, free: 25.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.828e-05/0.1923, allocations: 4 kB / 412.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.403e-05/0.1923, allocations: 3.984 kB / 412.6 MB, free: 25.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.1925, allocations: 15.98 kB / 412.6 MB, free: 25.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.253e-05/0.1926, allocations: 43.89 kB / 412.7 MB, free: 25.65 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.399e-05/0.1926, allocations: 7.938 kB / 412.7 MB, free: 25.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.936e-05/0.1926, allocations: 15.94 kB / 412.7 MB, free: 25.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.882e-05/0.1927, allocations: 19.97 kB / 412.7 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1927, allocations: 4 kB / 412.7 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.778e-05/0.1928, allocations: 27.97 kB / 412.8 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.672e-05/0.1928, allocations: 19.92 kB / 412.8 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1928, allocations: 19.94 kB / 412.8 MB, free: 25.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.703e-05/0.1929, allocations: 31.95 kB / 412.8 MB, free: 25.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1929, allocations: 0 / 412.8 MB, free: 25.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1929, allocations: 0 / 412.8 MB, free: 25.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1929, allocations: 4 kB / 412.8 MB, free: 25.5 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.0002278/0.1932, allocations: 357.4 kB / 413.2 MB, free: 25.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.885e-05/0.1932, allocations: 8.031 kB / 413.2 MB, free: 25.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1932, allocations: 4.938 kB / 413.2 MB, free: 25.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.803e-05/0.1933, allocations: 168.3 kB / 413.4 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1933, allocations: 4.375 kB / 413.4 MB, free: 24.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1933, allocations: 8.375 kB / 413.4 MB, free: 24.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1935, allocations: 95.86 kB / 413.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.1935, allocations: 192 / 413.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1935, allocations: 7.938 kB / 413.5 MB, free: 24.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.1935, allocations: 11.98 kB / 413.5 MB, free: 24.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.298e-05/0.1936, allocations: 51.89 kB / 413.5 MB, free: 24.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000295/0.1939, allocations: 396.8 kB / 413.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.588e-05/0.194, allocations: 53.08 kB / 414 MB, free: 24.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.194, allocations: 29.89 kB / 414 MB, free: 24.16 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.1943, allocations: 202.3 kB / 414.2 MB, free: 23.92 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1943, allocations: 38.55 kB / 414.2 MB, free: 23.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1943, allocations: 0 / 414.2 MB, free: 23.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002202/0.1946, allocations: 89.59 kB / 414.3 MB, free: 23.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1946, allocations: 81.11 kB / 414.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.1947, allocations: 121.7 kB / 414.5 MB, free: 23.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.1947, allocations: 29.7 kB / 414.6 MB, free: 23.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.1947, allocations: 99.84 kB / 414.7 MB, free: 23.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.1947, allocations: 27.56 kB / 414.7 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1948, allocations: 37.7 kB / 414.7 MB, free: 23.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.428e-05/0.1948, allocations: 322.8 kB / 415 MB, free: 23.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.473e-05/0.1948, allocations: 23.98 kB / 415.1 MB, free: 23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.1949, allocations: 125.6 kB / 415.2 MB, free: 22.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.195, allocations: 165.5 kB / 415.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.195, allocations: 0 / 415.3 MB, free: 22.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001747/0.1952, allocations: 165.5 kB / 415.5 MB, free: 22.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1952, allocations: 8 kB / 415.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.1952, allocations: 4 kB / 415.5 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1953, allocations: 4.5 kB / 415.5 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002364/0.1976, allocations: 443.6 kB / 415.9 MB, free: 22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.1987, allocations: 4.684 MB / 420.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.947e-05/0.1987, allocations: 20.06 kB / 420.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1987, allocations: 16 kB / 420.7 MB, free: 17.09 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.527e-05/0.1988, allocations: 129.8 kB / 420.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1989, allocations: 7.906 kB / 420.8 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1991, allocations: 117.8 kB / 420.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1991, allocations: 8 kB / 420.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1991, allocations: 0 / 420.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1991, allocations: 7.922 kB / 420.9 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.1993, allocations: 169.7 kB / 421.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1993, allocations: 0 / 421.1 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/0.2015, allocations: 419.6 kB / 421.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.2015, allocations: 8 kB / 421.5 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2015, allocations: 4 kB / 421.5 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009963/0.2025, allocations: 4.677 MB / 426.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2025, allocations: 0 / 426.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.2026, allocations: 258.9 kB / 426.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.2027, allocations: 81.05 kB / 426.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2027, allocations: 4 kB / 426.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.2028, allocations: 4 kB / 426.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.2028, allocations: 11.92 kB / 426.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.2028, allocations: 8 kB / 426.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.2028, allocations: 91.27 kB / 426.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2028, allocations: 0 / 426.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.2031, allocations: 16 kB / 426.7 MB, free: 10.81 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.0001077/0.2032, allocations: 119.2 kB / 426.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002789/0.206, allocations: 0.5471 MB / 427.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2061, allocations: 0 / 427.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002584/0.2086, allocations: 0.5034 MB / 427.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.2089, allocations: 9.328 kB / 427.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.2094, allocations: 275.2 kB / 428.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.2095, allocations: 0.6889 MB / 428.8 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.074e-05/0.2095, allocations: 11.44 kB / 428.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2095, allocations: 0 / 428.8 MB, free: 8.598 MB / 302.1 MB Notification: Performance of Templates: time 0.004701/0.2142, allocations: 3.085 MB / 431.9 MB, free: 5.508 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 -lv LOG_STATS > EHPTlib_EHPTlib.SupportModels.MapBasedRelated.EffiPlot2.pipe 2>&1)